full coverage output in lcov format
authorLaurent Mazet <mazet@softndesign.org>
Thu, 23 Jul 2026 21:29:39 +0000 (23:29 +0200)
committerLaurent Mazet <mazet@softndesign.org>
Tue, 11 Aug 2026 20:26:57 +0000 (22:26 +0200)
test/Makefile

index 9231937b8d7d875227368e80970d0bc1e4d96509..0abfb21a8cd02b9ed3e4544c9f4a975ad69c08cd 100644 (file)
@@ -35,7 +35,10 @@ clean:
        rm -f clean $(wildcard games.backup.*.json)
 
 coverage:
-       NODE="$(NODE) --experimental-test-coverage --test" make test
+       NODE="$(NODE) --experimental-test-coverage --test \
+                --test-reporter=spec --test-reporter=lcov \
+                --test-reporter-destination=stdout --test-reporter-destination=lcov.info" \
+                make test
 
 test:
        TRIVABBLE_TEST_HOST=$(HOST) \