Wednesday, 3 June 2015

C# MBUnit - MBUnit configuration and basic attributes

MBUnit is a 'Unit Testing' framework like Nunit and MSTest.

1. MBUnit can be downloaded from http://code.google.com/p/mb-unit/downloads/list



2. Extract the zip file, which is downloaded


3. Open the IDE, create the new project.


4. Add the references to the project.


5. Add the MBUnit attributes and methods in the class.
 


6. Build the project.

7. Once the project is build, dll file is created in the debug folder of the project.

8. Launch the 'Gallio Icarus'(Gallio.Icarus.exe), which is present in the 'bin' folder of the extracted the zip file.

9. Add the dll to the 'Gallio Icarus'.



10. Click on 'Start' button to executes the test methods.


11. View the Test Report.

No comments:

Post a Comment