kode icon indicating copy to clipboard operation
kode copied to clipboard

Utilize QTest framework for tests?

Open martonmiklos opened this issue 5 years ago • 1 comments

Hi folks!

@dfaure @winterheart @cornelius

I have started to do some work on getting the tests rolling again. I noticed one minor thing in which I would like to ask for opinions:

Most of the tests are classical command line applications: https://github.com/cornelius/kode/blob/master/kxml_compiler/tests/testaccounts.cpp however the testparser is built by facilitating the QTest framework: https://github.com/cornelius/kode/blob/master/kxml_compiler/tests/testparser.cpp

AFAIK we could pass parameters to the tests externally, so the command line options could be replaced. What other advances does the command line approach has?

I would like to refactor them to a consistent approach in the case if turns to be the right way.

martonmiklos avatar Sep 06 '20 21:09 martonmiklos

+1 for QTest everywhere and test automation

dfaure-kdab avatar Sep 07 '20 15:09 dfaure-kdab