views:

69

answers:

1

We're developing a Qt project using the Code::Blocks IDE with the QtWorkbench plugin. We'd like to take advantage of Qt's unit testing modules to test our code, but from what I've read online, the only way to do so is to use qmake to manually create a new "project" and makefile for each unit test and then to build and execute that project.

Does anyone know of a way to integrate tests with our overall project to have them built and run automatically when the project is built, specifically within the context of Code::Blocks?