[MonoDevelop] auto start Nunit Tests when compile, possible?

Lluis Sanchez Gual slluis.devel at gmail.com
Thu Apr 14 02:49:56 EDT 2011


El dc 13 de 04 de 2011 a les 02:49 -0700, en/na giova va escriure:
> Hi.
> 
> I would like to know if it is possible to setup my Solution or projects, to
> launch unit tests after build, and considere compilation failed if a test
> didn't passed?
> 
> My tests are in one of my solution projects. Thanks.

Nope, MD can't do that.

All you could do is add a post-build custom command than launches the
nunit console runner, but you would need to have nunit setup in your
system (the one bundled in MD doesn't have the console runner) and if
test fails, you won't get a compilation error.

> 
> --
> View this message in context: http://mono.1490590.n4.nabble.com/auto-start-Nunit-Tests-when-compile-possible-tp3446727p3446727.html
> Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list




More information about the Monodevelop-list mailing list