[Development] Qt Playground - Mock add-on module

jason.mcdonald at nokia.com jason.mcdonald at nokia.com
Tue Apr 24 10:33:00 CEST 2012


> I would like to work on a Mock add-on module in Qt Playground that
> might be beneficial later for certain projects. See the relevant
> wikipage for a short introduction about the goals of mock objects in
> testing:
> http://en.wikipedia.org/wiki/Mock_object
>
> There were previous attempts to address this niche, but none of those
> succeeded so far for certain reasons. The only publicly visible
> project I have found about the topic in question can be found here:
> https://qt.gitorious.org/~niandong/qt/niandongs-qttools/commits/qtmock
>
> The aforementioned project is apparently abandoned in there. I have
> tried to contact Niandong (the maintainer behind that), but he has
> unfortunately replied that he does not work on such a project anymore.
> It would be nice to help out the Qt Project with such an add-on module
> in the future. I am unsure about the module name in playground, but
> perhaps (qt)mock-ng, (qt)mock-next or something else ?
>
> What do you think ?

I think there's a good opportunity here to improve how Qt and Qt-based apps are tested and I support creation of such a playground project.

--
Jason McDonald
QTestLib Maintainer


More information about the Development mailing list