Dynamic buildstep/test execution based on previous test results and changes

We are using TeamCity to develop a suite of C++ applications based on a shared reusable framework with boost test on a windows environment. The testplans take fairly long to execute (building and testing all libraries and applications in debug mode takes over an hour).

It would be nice if TeamCity could execute the those tests first that have the greatest chance of failing. Preferably taking into account the changed source files and previous test results (possibly implemented some ML/AI predictor). This could be done completely within TeamCity if implemented on build step level, but it could also be implemented on the more detailed level of individual tests requiring more integration with the testing libary.

Is there already such a feature available (perhaps in another test library)

 

0
1 comment

I'm afraid not, as this needs to be controlled at the build step level, it would need to be controlled by the build runner itself. If you are using any of the bundled build runners, please feel free to open a request in our tracker, specifying which one you run: https://youtrack.jetbrains.com/issues/TW

 

If it's a non-bundled one, you might want to report it into the developer, or their respective issue tracker.

 

Of course, the third option would be to develop your own plugin for it.

0

Please sign in to leave a comment.