[Interest] FW: TDD in QML
Luca Bonifacio
luca.bonifacio at bbv.ch
Mon May 5 08:50:36 CEST 2014
Hi guys
Is there somebody which has some experiences by doing TDD with QML? How do you mock QML components?
-----Original Message-----
From: Alan Alpert [mailto:416365416c at gmail.com]
Sent: Samstag, 3. Mai 2014 01:30
To: Luca Bonifacio
Subject: Re: [Interest] Project structure for multi-platform mobile devices
On Fri, May 2, 2014 at 5:47 AM, Luca Bonifacio <luca.bonifacio at bbv.ch> wrote:
> Hi Alan
>
> Thank you for your answer. Yes, that's correct. I could write a new component with the same name as the object in C++, but then I have the disadvantage that all those files are stored together my application source files, which isn't so nice. I would prefer to mock the C++ objects from my unit test project. Do you have already used TDD on complex projects? If yes, how do you do that?
The dummydata files can be anywhere, as long as they're in one directory. Obviously, if you mock the C++ objects in C++ instead of QML then they exist near your custom test launcher.
There was another guy who was doing TDD with QML on complex projects.
But since you replied to me, and not the interest list, it will be hard for him to provide his feedback.
--
Alan Alpert
More information about the Interest
mailing list