I need to run the code before running my xUnit tests. Do it once and that's it. Is it possible, for example, as beforeAll in Jest?
Asked
Active
Viewed 2,012 times
0
-
2This may help https://stackoverflow.com/questions/13829737/run-code-once-before-and-after-all-tests-in-xunit-net – Serg Feb 16 '22 at 11:42
-
Does this answer your question? [xUnit.net: Global setup + teardown?](https://stackoverflow.com/questions/12976319/xunit-net-global-setup-teardown) – Prasad Telkikar Feb 16 '22 at 11:44