Green

Latest version: v4.0.2

Safety actively analyzes 685670 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 15 of 16

1.4.2

14 August 2014

- Automated generation of the CLI documentation.
- Improved the suggest command for Bash-/Zsh-completion integration.
- Improved the README file.
- Fixed a crash that could occur if an exception was raised during a test
case's setUpClass() or tearDownClass()
- We now explicitly terminate the thread pool and join() it. This makes self
unit tests much easier to clean up on Windows, where the processes would
block deletion of temporary directories.
- Set up continuous integration for Windows using AppVeyor. Thanks to ionelmc
for the tip! Issue 11.

1.4.1

30 July 2014

- We now use the fully-dotted test name at the start of each traceback in the
error listing. Issue 28.
- PyPy libraries are now omitted from coverage by default.
- More cleanup on internal tests.

1.4.0

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.

1.3.1

23 July 2014

- Fixed the new tests that failed if you ran them in-place on an installed
version of green. Forgot to check the build status before I did the last
release!

1.3.0

23 July 2014

- Bash-completion and ZSH-completion support for options and test targets.
Issue 7.

1.2.1

20 July 2014

- Multiline docstrings (with -vv or -vvv) on test methods are now handled
correctly. Initial whitespace is first stripped. Then lines are combined
into one space-separated string until the first blank line. Issue 26.

Page 15 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.