diff --git a/Makefile b/Makefile index 4594e1c..99be4b1 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all doc clean +.PHONY: all doc clean test all: clean doc @@ -19,3 +19,7 @@ demo: @bin/secop-server -q cryo & @bin/secop-gui localhost:10767 localhost:10768 localhost:10769 @ps aux|grep [s]ecop-server|awk '{print $$2}'|xargs kill + +test: + #@pytest -v --lf -l --tb=auto --setup-plan test/ + @pytest -v --lf -l --tb=long --setup-show test/ diff --git a/requirements.txt b/requirements.txt index 73c6484..46d5f15 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,4 +5,5 @@ psutil python-daemon >=2.0 # for zmq interface #pyzmq>=13.1.0 - +# for test suite +pytest