How to execute the step definition/ feature (test-case) with xunit framework #261
Answered
by
UL-ChrisGlew
pritesh848
asked this question in
Q&A
-
|
How to execute the step definition (test-case) with xunit framework, if I use [FACT] attribute it was executing every method in step-definition file as a testcase and I want to run testcase with combination of all methods in step definition complete feature file. |
Beta Was this translation helpful? Give feedback.
Answered by
UL-ChrisGlew
Sep 23, 2024
Replies: 1 comment 7 replies
-
|
Just so I can understand better - are you using the BDD (.feature) files for your test cases or are we talking about unit testing in .cs files in your project? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So if you wanted to perform a common setup in every test case, you should use Reqnroll Hooks to perform more global setup.
So you could add a file that has something like:
this would then run the contents of the
LaunchMobileApplicationbefore every test case in your test suite.