tests build vs production build

slav's Avatar


23 Jun, 2014 02:05 AM

To run tests I need to build everything in Specs configuration. To build production release, build is in Release.

The main reason for this is for integration tests that run in memory there're some background processes. We're testing they function correctly, so we compile them with different timer settings vs timers they have in production.

Is it possible to do a tests build, run tests, and then do production build and package output for deployment?

  1. Support Staff 1 Posted by Feodor Fitsner on 23 Jun, 2014 03:17 AM

    Feodor Fitsner's Avatar

    It's possible, but you have to do that in a custom script overriding AppVeyor built-in pipeline.

  2. 2 Posted by slav on 23 Jun, 2014 03:51 AM

    slav's Avatar

    Would I also need to run tests from the build script? Or is it possible to plug test running service you provide into the middle? And just do release build as a script after tests pass?

  3. Support Staff 3 Posted by Feodor Fitsner on 23 Jun, 2014 03:57 AM

    Feodor Fitsner's Avatar

    Well, we don't do something special for running tests. You should know paths to test assemblies already, so no need to do autodiscovery, and all test runners are in PATH.

  4. slav closed this discussion on 27 Jun, 2014 05:39 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac