-
-
Notifications
You must be signed in to change notification settings - Fork 832
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
Add test configurations for Observability plugin. #2570
base: master
Are you sure you want to change the base?
Conversation
This compiles, but I haven't been able to figure out how to actually run the tests. I followed the instructions in BUILDING.md, but I'm not sure from which directory I'm supposed to run Also, I have ENABLE_TESTING set to ON. Any suggestions? |
Please try run tests within QtCreator |
I fear unit tests will not work for this plugin due core class (singleton) |
Can you elaborate on how to do it through QtCreator? I would like to get the dummy test working just so I can start looking into refactoring the plugin. |
ENABLE_TESTING property should be set ON in QtCreator and after run cmake on bottom bar you will see extra section for unit testing |
Awesome, found it. Thank you! |
Any progress here? |
I've made progress on this. I've been testing out the feasibility of using the FakeIt mocking testing lib, which would allow for running tests against functionalities that use StelCore. Still working on getting a complete test running, but if I can, this would at least allow tests to be written for the Observability plugin while it's being refactored. |
Description
Add test configurations for Observability plugin.
Screenshots (if appropriate):
Type of change
How Has This Been Tested?
Compiles. Only a dummy test has been added.
Test Configuration:
Checklist: