30 July 2014
User Stuff
- Django integration! Issue 21. There are two ways to use green while
running Django unit tests:
1) To just try it out, use the --testrunner option:
./manage.py test --testrunner=green.djangorunner.DjangoRunner
2) Make it persistent by adding the following line to your settings.py:
TEST_RUNNER=green.djangorunner.DjangoRunner
(Use green config files to customize the output)
- Switched from using stderr to stdout. This makes piping output to another
program much easier, and reserves stderr for actual errors running green
itself.
- Improved the exception output when a test module cannot be imported.
Internal Stuff
- Updated the Travis config to make use of the Makefile
- Updated the Makefile with more and better organized test targets.
- Added a test_versions script that can be run on developer clones. It will
auto-detect all versions of python (in the form of pythonX.Y) in $PATH and
run many permutations of self tests on each version.
- Fixed a crash that could occur if discovery did not find any tests and
processes was set higher than one.
- Fixed lots of tests so that they would succeed in all environments.
- Internal refactoring of argument parsing and configuration handling.