Skip to content

Commit d46ef16

Browse files
committed
Add CLI test cases
1 parent 1205802 commit d46ef16

File tree

2 files changed

+442
-0
lines changed

2 files changed

+442
-0
lines changed

test/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ else()
2020
include(GoogleTest)
2121
gtest_add_tests(TARGET taco-test)
2222
endif()
23+
24+
# This will run all *.bats test files in the source test/ folder.
25+
add_test(NAME taco-cli-test COMMAND ${CMAKE_SOURCE_DIR}/test/bats/bin/bats ${CMAKE_SOURCE_DIR}/test/)

0 commit comments

Comments
 (0)