Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utilize QTest framework for tests? #57

Open
martonmiklos opened this issue Sep 6, 2020 · 1 comment
Open

Utilize QTest framework for tests? #57

martonmiklos opened this issue Sep 6, 2020 · 1 comment

Comments

@martonmiklos
Copy link
Collaborator

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 martonmiklos changed the title Utilize QTest framework for tests Utilize QTest framework for tests? Sep 6, 2020
@dfaure-kdab
Copy link
Collaborator

+1 for QTest everywhere and test automation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants