Request: Show `set` data tables in doc strings
See original GitHub issueIt would be helpful if data tables supplied as an argument to the set
keyword were shown in the doc string for that step. Ideally it would show the values as evaluated, but even having them in their variable/template form would be an improvement as currently no information is retained about what was set:
And set updateComponentTypeJson
| path | value |
| componentTypeName | uniqueComponentTypeName |
| componentTypeDescription | updateComponentTypeJson.componentTypeDescription + ' ' + uuid |
| componentTypeId | createdComponentTypeId |
Here is the associated step in the .json report:
{
"name": "set updateComponentTypeJson",
"result": {
"duration": 107114900,
"status": "passed"
},
"match": {
"location": "karate",
"arguments": []
},
"keyword": "And",
"line": 39
},
I’d love to see something like this added to this step:
"doc_string": {
"content_type": "",
"value": " | path | value |\n | componentTypeName | "My unique type name" |\n | componentTypeDescription | "My description ABCDEFGH" |\n | componentTypeId | 1337 |",
"line": 39
}
Thanks for your work on Karate and your consideration on this feature request.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Python Docstrings Tutorial : Examples & Format for Pydoc ...
See Python Docstrings. Learn about the different types of docstrings & various docstring formats like Sphinx, Numpy, and Pydoc with examples now.
Read more >Python Docstrings (With Examples) - Programiz
Python docstrings are the string literals that appear right after the definition of a function, method, class, or module. Let's take an example....
Read more >Python Docstrings - GeeksforGeeks
Docstrings in Classes. Let us take an example to show how to write docstrings for a class and its methods. help is used...
Read more >Manual - DataTables
As such, this documentation covers details from how to install DataTables on your site in the first instance, explaining how it can source...
Read more >Package 'data.table' - R Project
frame. key. Character vector of one or more column names which is passed to setkey. It may be a single comma separated string...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks, I will try and get to this this week.
fine, I guess I have to find the time to create a cucumber project or easier may be to get a karate version before 0.9.0 to make sure we are compatible with 3rd party reports like the one below: