Add capability to run tests in a non-active project

Issue #43 resolved
Former user created an issue

(logging this down after a discussion with Stefan on Hangouts)

If would be great if Test Insight could constantly run test suite project while I'm working on the main application.

I have a project group with two project - MyMainApp - MyMainAppTests

The former contains the program and the latter contains the unit tests.

At the moment, I have to switch to the Tests app to verify if my tests run correctly after a change in the code. I'd like to stay in the main app and Test Insight should recompile my Tests up, run the tests (if program compiles) and dislay the results.

Comments (7)

  1. Nicholas Ring

    I do like this idea also but my concern is to how to get TI to find the unit test project. At work, I am like the others here, I have "<project>.dpr" and "<project>Test.dpr" but at home, the "<project>Test.dpr" is in a sub-directory.

    I (and surely others) would hate to be dictated to on where the "<project>Test.dpr" has to be, so what is a generic way that the main project can inform TI where the "<project>Test.dpr" is?

    I do have several ideas but there are cons about them all... :-(

  2. Stefan Glienke repo owner

    What comes into mind for me is adding a node into the groupproj that specifies the TI project. What are the cons about that approach?

  3. Nicholas Ring

    That approach is more a concern - will the IDE respect that node, in that will it leave it alone?

  4. Nicholas Ring

    I know that Eureka Log places a big comment with their setting at the end but I didn't know about other tools using it also.

    Off Topic: Are you able to mention some of those tools?

  5. Log in to comment