unit testing - How to run tests in Nemerle project -


how run tests test nemerle code. example, i've calculator class , calculatortests class in nemerle project. have added reference nunit using package manager ("install-package nunit"). nunit available in nemerle project.

after writing following code

  [testfixture]   class calculatortests   {         [test]         mytest() : void         {             def result = calculator().add( 1 );             assert.areequal( 2, result );         }   } 

i tried use testdriven.net visual studio add-in run test couldn't able to. can tell me how run tests in nemerle or have write code run tests when executing console app?

maybe caused nunit runs under .net 2.0 runtime. try set runtime version in nunit command line.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -