STRESS_DURATION_MS ?= 15000
START_SERVER ?= true
-.PHONY: help test test-http test-state test-realtime test-persistence test-stress-style stress stress-mixed-http stress-http-burst stress-sequential-game-ops test-external test-http-external test-state-external test-realtime-external test-persistence-external test-stress-style-external stress-external stress-mixed-http-external stress-http-burst-external stress-sequential-game-ops-external
-
help:
@echo make -C test test : run validation suite with auto-started server
@echo make -C test test-http : run HTTP validation section
@echo make -C test stress-http-burst-external : run hello burst stress section externally
@echo make -C test stress-sequential-game-ops-external : run sequential game-ops stress section externally
+clean:
+ touch clean
+ rm -f clean $(wildcard games.backup.*.json)
+
+coverage:
+ NODE="nyc $(NODE)" make test
+
test:
TRIVABBLE_TEST_HOST=$(HOST) \
TRIVABBLE_TEST_PORT=$(TEST_PORT) \
TRIVABBLE_START_SERVER=false \
$(NODE) stress-sequential-game-ops.js
-clean:
- touch clean
- rm -f clean $(wildcard games.backup.*.json)
+.PHONY: clean coverage help test test-http test-state test-realtime test-persistence test-stress-style stress stress-mixed-http stress-http-burst stress-sequential-game-ops test-external test-http-external test-state-external test-realtime-external test-persistence-external test-stress-style-external stress-external stress-mixed-http-external stress-http-burst-external stress-sequential-game-ops-external