Automated testing on test app server
I'm trying to set up a standalone test server to automatically execute Specflow tests once a day. The server will not have Visual Studio on it, and it is not part of our build server. Basically, it is similar to a Production server.
It seems that I need a separate test runner and an agent to trigger the test run. Also, I need a way to get the tests built on this server, but I can't find any documentation as to how to do this.
Any information (or a link to documentation) as to how to accomplish this will be appreciated.
Depending on your setup this is possible.
I use Specflow, C#, Selenium and NUnit for my tests.
For me to achieve what you want
- I would have to check in my Debug directory to GitHub (because this contains the built version of the project).
- Each night I would need a timed task to download the Debug Directory from GitHub
- Then I would need to use DotNet Test to run the tests (see https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-test) and create the trx report file.
- I would then have a timed activity to convert the trx report to a html report and copy somewhere else that is easily accessible.
Please sign in to leave a comment.