Skip to content

Commit d0e8964

Browse files
committed
Add nosetests with timing response
1 parent 7b9d137 commit d0e8964

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,19 @@ watch_test:
77
nose:
88
nosetests tmuxp/testsuite/*.py -m "^test*."
99

10+
nose_time:
11+
nosetests tmuxp/testsuite/*.py -m "^test*." --with-timer --timer-top-n 15
12+
1013
build_docs:
1114
cd doc && $(MAKE) html
1215

1316
watch_docs:
1417
cd doc && $(MAKE) watch_docs
1518

1619
flake8:
17-
flake8 tmuxp
20+
flake8 tmuxp
1821

1922
watch_flake8:
20-
if command -v entr > /dev/null; then find . -type f -not -path '*/\.*' | grep -i '.*[.][py]' | entr -c make flake8; else make flake8; echo "\nInstall entr(1) to automatically run tests on file change.\n See http://entrproject.org/"; fi
23+
if command -v entr > /dev/null; then find . -type f -not -path '*/\.*' | grep -i '.*[.][py]' | entr -c make flake8; else make flake8; echo "\nInstall entr(1) to automatically run tests on file change.\n See http://entrproject.org/"; fi
2124

2225
.PHONY: flake8

0 commit comments

Comments
 (0)