@@ -10,6 +10,7 @@ all: clean install
1010
1111PHONY += help
1212help:
13+ @echo ' test - run developer tests'
1314 @echo ' run - run developer instance'
1415 @echo ' install - developer install (./local)'
1516 @echo ' uninstall - uninstall (./local)'
@@ -39,4 +40,21 @@ run: pyenvinstall
3940 ) &
4041 $(PY_ENV)/bin/python ./searx/webapp.py
4142
43+# test
44+# ----
45+
46+PHONY += test test.pep8 test.unit test.robot
47+
48+test: test.pep8 test.unit test.robot
49+
50+test.pep8: pyenvinstall
51+ $(PY_ENV_ACT); ./manage.sh pep8_check
52+
53+test.unit: pyenvinstall
54+ $(PY_ENV_ACT); ./manage.sh unit_tests
55+
56+test.robot: pyenvinstall
57+ $(PY_ENV_ACT); ./manage.sh install_geckodriver
58+ $(PY_ENV_ACT); ./manage.sh robot_tests
59+
4260.PHONY: $(PHONY)