Running a .Net application from built source so that postman tests can be run against it
Completed
The build configuration is meant to be as follows:
- Restore the NuGet packages with NuGet Installer runner
- Build the application with .NET CLI (dotnet) runner
- Run the module tests using Nunit runner
- Run the application on localhost
- Run postman test collection against the application running in localhost
- Terminate the running application
the problem is that running the application with a .NET CLI runner will stop the build steps as it will not exit until the application is stopped
Is there a way of running the application in a separate process so that it doesn't stop the build steps?
Please sign in to leave a comment.
Hi Stefan,
This is actually a windows issue, not specific to TeamCity. You can usually start new applications as a separate process using the "start" command, often with the "/B" parameter. Could you check if that works for you?