Is there a way to execute all of the C# unit tests (xUnit
) within the console application? So that the end user can see the results while running the program?
Let's say that we have simple switch case
menu like:
- Do something,
- Do something different
- Run unit tests.
So that when the input from user's keyboard equals 3 all of the unit tests from the project are executed and the result is printed?
Thanks in an advance for the help