-# Copyright (C) 2016, 2017, 2018, 2019 The Meme Factory, Inc.
+# Copyright (C) 2016, 2017, 2018, 2019, 2020 The Meme Factory, Inc.
# http://www.karlpinc.com/
# This file is part of PGWUI.
devel/pytest/bin/py.test -m integrationtest \
--cov=pgwui_${PGWUI_NAME} tests
+## check-debug Start a regression test and drop into the Pdb
+## debugger. Variables designate the test file
+## and test function, i.e.:
+## FILE=test_mymodule.py TEST=test_somefunction \
+## make check-debug
+.PHONY: check-debug
+check-debug: devel/pytest
+ devel/pytest/bin/flake8 .
+ devel/pytest/bin/py.test --trace tests/${FILE}::${TEST}
+
## pudb Run the python pudb debugger
.PHONY: pudb
pudb: devel/pudb