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

Unit tests in separate project #1057

Conversation

marauder2k7
Copy link
Contributor

Final test of today
DO NOT MERGE!!!

-Move tests to a separate project
-Tests now appear in TestExplorer.

NOTE: Currently only tested in Debug config.

TODO: Add support for Vectors
addDef ("TORQUE_TESTS")

add sdl dummy devices when testing
remove command and compile torque as a lib if testing
-Remove main functions when testing, gtest has main
-remove sdl defines from torque.config
implement our own main function (gtest_main no longer needed)
group test files
add script input ability (CI required)
-Rename test project to {NAME}_TEST
-set workflow file to use the test.
-Make sure subsystem is console app instead of windows (no need for winmain)
-MacOs reported bool from main
-AddDef for debug and releases
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.

1 participant