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
Qt interface has no unit tests #10
Comments
|
We do have unit-tests for the database and parsing - having more would be much better, of course ;-) (see the tests/ directory) Only the Qt interface doesn't have tests right now, mainly bacause adding some would mean that compiling the Qt interface independently from the rest of AppStream wouldn't be possible anymore, and that's something svuorela wanted back in the days. |
|
So they aren't integrated in cmake? "ctest ." gives nothing. |
|
They should be.... I run "make test" frequently without issues... Maybe cmake wants more than just add_test to be called for proper ctest integration? |
|
Tests are disabled by default, I didn't realize that. Sorry. |
|
Aaah :-) |
|
We now have a very simple unit-test for Qt - needs to be extended, of course. |
Having some tests for generating and querying the database are needed in order to figure out when we regress.
The text was updated successfully, but these errors were encountered: