You probably already get some kind of metrics out of your tests, whether you get stats from your build, Specflow reports and other build artefacts. This article will show you how to send your data to ElasticSearch and visualise the stats with it's sister product Kibana. There are several alternative ways you can achieve the same thing here, you may prefer to use another visualisation tool such ...
Gallio (sometimes known as MB Unit or Gallio Icarus) is a test runner which to me has two distinct advantages over MsTest and NUnit.
Parallel test execution support and built in test reports, although NUnit does have parallel support with PNUnit.
How to set it up
- Download and install Gallio from here.
- In your Visual Studio Project navigate to Project > [project name] Properties from the drop down menu.
- Click Debug
- Set startup program to Gallio, by default it should be somewhere like: C:\Program Files\Gallio\bin\Gallio.Icarus.exe
- In Start Options > Command Line Arguments paste in the path of your projects DLL housing the tests you want to execute
- Hit Start when you want to run or debug your tests
This looks very similar to NUnit but with some extra buttons and menus, the only ones you will really care about are start/ stop/ debug and test reports.
The reports aren’t anywhere near as nice as that you would find in Allure, but they are easily generated and easy to view.
Bootnote: In Gallio Icarus select menu Tools -> Options, select page “Preferences”, set “Test Runner Factory” to IsolatedAppDomain or Local to get the debugger to work.