Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@parona-source
Copy link
Contributor

The fact that all the tests were hidden with the tags skill checked me hard. For testing it would be more useful if all or most tests were in the default list so that people would run tests. Otherwise its very easy to miss.

Added failing tests to xfail, atleast one of them appears to fail due to missing data files.

Reuse core object for tests and application.

Include tests in root CMakeLists.txt with standard cmake BUILD_TESTING option controlling whether its built or not..

https://cmake.org/cmake/help/git-stage/variable/BUILD_TESTING.html

Signed-off-by: Alfred Wingate <[email protected]>
Signed-off-by: Alfred Wingate <[email protected]>
Otherwise the tests aren't very discoverable.

Signed-off-by: Alfred Wingate <[email protected]>
Signed-off-by: Alfred Wingate <[email protected]>
Signed-off-by: Alfred Wingate <[email protected]>
Signed-off-by: Alfred Wingate <[email protected]>
@parona-source parona-source marked this pull request as ready for review February 7, 2025 01:41
@limo-app
Copy link
Owner

This corrects many ugly decisions i've made, thanks! As for the hidden tests: I did that to debug some problem very early on and then somehow carried it through all the way. Will remember not to do that for future tests.

@limo-app limo-app merged commit a12d872 into limo-app:main Feb 13, 2025
@parona-source
Copy link
Contributor Author

It took me too long to realise that they were been hidden :D

Also for the xfails, I presume some of them will pass for you (atleast one of them was a missing data file). You should look into removing them, its either that they were broken already or its something on my system leading to a failure. So I'd be interested in seeing if there are real failures on my end.

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

Successfully merging this pull request may close these issues.

2 participants