pytddmon
pytddmon copied to clipboard
Continuous unit testing tool
 return __import__(module, globals(), locals(), ["*"]) ModuleNotFoundError: No module named 'ipynb_checkpoints' I'm pretty sure the cause is the 'ipynb_checkpoints' hidden file that Jupyter generates. It happens both with Jupyter Notebook...
Currently pytddmon scans all subdirs for .py files, including all of a virtual environment. Use example: $ pytddmon.py --exclude=include,lib,src,bin
Typical use case: 1. Test fails so main window is red 2. Open details window to read error details 3. Switch back to text editor 4. Details window gets hidden...
pytddmon uses python-tk (Tkinter) for it's user interface. That UI toolkit is builtin on Windows CPython installations. On e.g. Ubuntu, python-tk is not installed by default. However, python-gtk2 is installed...
It would be swell if there was a command line option to run pytddmon in "text only" mode: $ python pytddon.py --textui 13:21 OK - Found 4 test(s). All tests...
At least there should be mention of pip installing pytddmon on the "Download" page (which should be renamed to "Getting pytddmon" or similar.
E.g. they use old website for download demonstration, and not pip. Also the pytddmon UI looks quite different from the first videos!
If we could use unittests built in test discovery system, we could potentially get rid of a lot of code from pytddmon. We have to make sure it acts just...
Right now, pytddmon uses polling to check for file system changes - scanning the directory and subdirectories it's running in checking if any .py file has changes since last time...