hi, Our first priority now is to complete the tests coverage and fix the failures (the current tests are in C++, so we are using these tests for now). In parallel is nice to evaluate if there are any shortcomings in moving to QtQuickTest, which is the direction we want to move.
cheers, // leo ________________________________________ From: Kothari Devesh (Nokia-MS-Qt/Tampere) Sent: Thursday, January 27, 2011 2:36 PM To: ext Artur Souza (MoRpHeUz); Shakuntal Aseem (Nokia-MS-Qt/Tampere) Cc: qt-components@qt.nokia.com; Weatherley Rhys (Nokia-MS-Qt/Brisbane); Cunha Leo (Nokia-MS-Qt/Oslo) Subject: RE: [Qt-components] qmlunit tests for qt-components; your kind feedback.. ; ) :P > -----Original Message----- > From: ext Artur Souza (MoRpHeUz) [mailto:artur.so...@openbossa.org] > Sent: 27. tammikuuta 2011 15:26 > To: Shakuntal Aseem (Nokia-MS-Qt/Tampere) > Cc: qt-components@qt.nokia.com; Weatherley Rhys (Nokia-MS-Qt/Brisbane); > Cunha Leo (Nokia-MS-Qt/Oslo); Kothari Devesh (Nokia-MS-Qt/Tampere) > Subject: Re: [Qt-components] qmlunit tests for qt-components; your kind > feedback.. ; ) :P > > Hello! > > On Thu, Jan 27, 2011 at 9:29 AM, <aseem.shakun...@nokia.com> wrote: > > The testcase written in qml does the same thing: > > > > function test_the_text_of_the_button_can_be_changed() { > > testTarget.text = "CustomName"; > > equals(testTarget.text, "CustomName", "The text of the button > was sucessfully changed"); > > } > > We are working on a revamp of the test cases and we faced some > situations where we would need to provide bindings of specific > functionality to QML in order to use QtQuickTest to perform our tests. > > If you are really willing to help regarding tests, it would be great > if you could write unit tests that rely on the UI of the component, > like testing the slider or clicking on a button. As these tests rely > on the knowledge of the styling of the component you would need to > write one for MeeGo, another for Symbian and so on. > > My advice would be to leave the common api tests to be done by the > current QTestLib based tests and then use QtQuickTest to perform the > "UI-wise" tests that could be done for each platform. I was under the impression that we want to move to qml based tests for common api rather than cpp based tests. Devesh > > Cheers, > > > -- > ------------------------------------------------------- > Artur Duque de Souza > openBossa > INdT - Instituto Nokia de Tecnologia > ------------------------------------------------------- > Blog: http://blog.morpheuz.cc > PGP: 0xDBEEAAC3 @ wwwkeys.pgp.net > ------------------------------------------------------- _______________________________________________ Qt-components mailing list Qt-components@qt.nokia.com http://lists.qt.nokia.com/mailman/listinfo/qt-components