Switched to gtest for unit testing
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
|
||||
add_executable(test-database
|
||||
Artist.cpp
|
||||
Cluster.cpp
|
||||
DatabaseTest.cpp
|
||||
Track.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(test-database PRIVATE
|
||||
lmsdatabase
|
||||
GTest::GTest
|
||||
)
|
||||
|
||||
add_test(NAME database COMMAND test-database)
|
||||
gtest_discover_tests(test-database)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user