Qt Jambi Unit Tests

Here is a quick report about the ongoing development around unit tests.
We had a few autotests for different parts of Qt Jambi, now most of these tests are running properly and producing a report.
My generator tests were also added and they should appear in the same report.
A tests.properties file is added to the root directory where you should point to your junit and hamcrest jars (it’s possible that hamcrest is included in junit.jar, in this case leave hamcrest path empty).
I made 2 ant targets available to get the tests compiled and running, first


will compile and build the required library/sources for autotests, and


should run the tests.
Finally you can open the generated test report build/TestResults/index.html.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s