Skip to content

Utilize QTest framework for tests? #57

@martonmiklos

Description

@martonmiklos

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions