Skip to content

Conversation

james-baber
Copy link

Made this as a fix to this issue
#71

I fixed the getDescription method to default to the doc strings first, otherwise use the method name. I also had to update the default template to use the test_description variable as the default. Since the description is know defined as above. I think this would be a good default behavior because it matches your demo in the readme.

If another outcome is needed the user can just change the template, but at least the test_description variable is now correct

Here is my test
image

updated so that getDescription now looks at the doc string first, otherwise it uses the test name
Use the description as in the default template
Added description as the default
If there is no short description from the case then return a blank string
@james-baber
Copy link
Author

@oldani let me know if this looks good to you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant