I recently started dabbling with Playwright Sharp having seen they now have (as the name suggests) some C# bindings for the automation library. In order to try and put it through its paces a bit and decide if it is worth pursuing as a replacement or in addition to our Selenium based tests, I picked out one two more gnarly tests in the suite to do a comparison against. Please note this isn't som...
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.