- Removed
-p
option ofpytest_config.update
in favor of automaticaly adding the current directory to thePYTHONPATH
before running test running.
- Added some common-use fixtures.
- Cleanup and organization for releasing to PyPI.
- Renamed
pytest_config.django
Django app to justpytest_config
.
- Added
--runslow
option to run tests marked as slow tests. - Added
pytest-django
as package requirement since this is meant to be used within Django projects. pep8>=1.5.6
as package requirement as this version supports more PEP8 rules.
- Fixed bug when detecting parsing DJANGO_SETTINGS_MODULE and checking availability of such.
- Added support for lowercase
django_settings_module
ini value in pytest.ini. - Added
-y
,--overwrite
topytest_config.update
that will make the script automatically overwrite the user configurations with the defaults. - Added
-p
,--fix-path
to only fix the pytest-django known issue. pretty._print_*
is nowpretty.print_*
.
- Refactored
_print_color
to make text coloring functioncolorize_text
importable and reusable over apps usingpytest_config
.
- Added
--fix-path-issues
option to inspect the current django project and check whether the project is available in thePYTHON_PATH
forpy.test
; if not, add it to the pat by installing in via a simplesetup.py
file. - Made
pytest_config.init
andpytest_config.update
more verbose.
- Added commands to initialize and interactively update the configuration files.
- Checking last version of configuration files before running the tests. If no information of configuration files last version is available, print an error message and terminate tests execution until this information is available. If the version seems outdated, print a warning suggesting the user to run the updater command.
- First release as having initial configurations.
- Caliendo-friendly command arguments available.