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

capture before and after blocks #78

Open
ASaiAnudeep opened this issue Jul 28, 2024 · 1 comment
Open

capture before and after blocks #78

ASaiAnudeep opened this issue Jul 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ASaiAnudeep
Copy link
Member

We need to enhance our test results parser to support the parsing of before and after blocks from various testing frameworks such as JUnit, Cucumber, TestNG, etc. Currently, our parser focuses on the main test cases and does not adequately handle the setup and teardown procedures encapsulated in these before and after blocks.

@ASaiAnudeep ASaiAnudeep added the enhancement New feature or request label Jul 28, 2024
@bryanbcook
Copy link
Contributor

Can you provide examples of what is missing or what you'd like to achieve?

Because you mention 'before' and 'after' in the title of this issue, I'm assuming you mean the steps taken in a cucumber test run? Like a the steps taken in a Feature's Background?

To my knowledge, JUnit, xUnit, NUnit and MSTest capture output in the setup/teardown of the Fixture (class) and Test Case (method). For the Fixture setup and teardown, both are captured in the fixture output (junit: system-out, nunit: output, etc), but there's no logical separation of this output from setup and teardown. For Test Case setup and teardown, this appears inline with the output from the test.

Curious what you would want here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants