Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed description bug #86

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

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.

None yet

1 participant