Question

In my project we use UnitTests (MsTest). We run them manually and in the build script. But for some environments where we deploy manually.

We are in the need of having some smoke tests. At the moment I made this smoke tests "manually" (Login, create an user, create a licence, create a product, etc).

I know I can run unit tests from command line or from visual studio but...

Do you know if is possible to run these mstests (or probably a small subset) from an .aspx page and show the results?

EDITED: wondering if mstests or something is able to run the tests and have something visual to show in an .aspx page similar to a list of tests passed and tests failed... I am thinking on running only a small subset of tests (5-6)

Was it helpful?

Solution

If you can run them from command line then you can run them from aspx file. Check Process class.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top