Hi,
thank you for that !
I will check the link you gave me this week-end. I had to switch to a
project not Qt related which uses CxxTests with perl scripts to chose what
you want to run but I will need to master the QTestLib for my next Qt
project. :)
Kind regards,
Gilles
On 2 August 2012 11:4
Hi Gilles,
This mail was sent quite a lot of months ago, but I hope you'll allow me
to get back to it.
Den 10-04-2012 16:19, Gilles Habran skrev:
> thanks again for all the informations. I think I will create another
> test project to experiment a lot with the Qt Test Lib and see what I can
> do
Hi,
Using the subdir template, you would only have one project opened in Creator,
all the other "subproject" are contained in it. So only one build to manage and
you can select which test you'd like to run in the run settings panel. And if
you want to run them all every time you build, add a bu
Hi again,
I created a dummy project to test some things. You can find the project
here : https://bitbucket.org/hiveNzin0/qtunittest
I would like to know if it is "clean" to do like I did in the main.cpp in
tests/unitTests ? That's the result I wanted.
I tried to create on project for each class b
Hi,
thanks again for all the informations. I think I will create another test
project to experiment a lot with the Qt Test Lib and see what I can do and
not do.
I didn't understand how you call them automatically when you do automated
test proc. You have one main for each file (test class), do yo
The best answer i can give you is: it depends. I like to have a test project
per class so i can run them manually while writing the related class and have
them automatically called when doing automated test procedures.
Have a look at the subdir template. Basically, you will end with several
sub
Hi,
I have to look for informations about how to separate my project to create
a library then.
Is it better to have a small project for each test class ? I have poor
knowledge of unit testing of course but wouldn't it be more clear to have a
big project containing all the unit test to start from
On 10 avr. 2012, at 10:29, Gilles Habran wrote:
> Hi guys,
>
> I have a personal project and I would like to try to use Test Driven
> Development. For the moment, my only knowledge in Unit Tests come from
> several books, I never really use that concept in a project.
>
> Here is the arch of m
Hi guys,
I have a personal project and I would like to try to use Test Driven
Development. For the moment, my only knowledge in Unit Tests come from
several books, I never really use that concept in a project.
Here is the arch of my project folder :
xxx/xxx.pro
xxx/src/*.cpp
xxx/include/*.h
xxx/