mardi 30 décembre 2014

How can I run a unit test project and return the results to an external application?

Currently, I am attempting to create a simple console app that does the following:



  1. Compile my project

  2. On Success, Compile/Run the Unit Tests

  3. On Successful tests, continue with the remainder of the program


I'm stuck on a couple of things:



  • How do I verify that the compilation was successful?

  • How do I execute the unit tests?

  • How do I verify that the unit tests passed?


Note: I'm not 100% sure that a custom console app is the right thing to do here, so I'm open to using existing tools/apps as long as they are very lightweight, cheap/free, etc.


Aucun commentaire:

Enregistrer un commentaire