Next | Query returned 53 messages, browsing 1 to 10 | Previous

History of commit frequency

CVS Commit History:

   2018-06-21 08:41:14 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-test: updated to 3.6.2

Pytest 3.6.2:

Bug Fixes
Fix regression in Node.add_marker by extracting the mark object of a MarkDecorator.
Warnings without location were reported as None. This is corrected to now report \ 
<undetermined location>.
Continue to call finalizers in the stack when a finalizer in a former scope \ 
raises an exception.
Fix encoding error with print statements in doctests

Improved Documentation
Add documentation for the --strict flag.

Trivial/Internal Changes
Update old quotation style to parens in fixture.rst documentation.
Improve display of hint about --fulltrace with KeyboardInterrupt.
pytest’s testsuite is no longer runnable through python test – \ 
instead invoke pytest or tox directly.
Fix typo in documentation
   2018-06-06 21:27:51 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 3.6.1

Pytest 3.6.1:
Bug Fixes
* Fixed a bug where stdout and stderr were logged twice by junitxml when a test \ 
was marked xfail.
* Fix usefixtures mark applyed to unittest tests by correctly instantiating \ 
* Fix assertion rewriter compatibility with libraries that monkey patch file objects.

Improved Documentation
* Added a section on how to use fixtures as factories to the fixture documentation.

Trivial/Internal Changes
* Enable caching for pip/pre-commit in order to reduce build time on travis/appveyor.
* Switch pytest to the src/ layout as we already suggested it for good practice \ 
- now we implement it as well.
* Fix if in tests to support 3.7.0b5, where a docstring handling in AST got reverted.
* Remove some python2.5 compatibility code.
   2018-05-30 09:35:18 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 3.6.0

Pytest 3.6.0
Revamp the internals of the pytest.mark implementation with correct per node \ 
handling which fixes a number of long standing bugs caused by the old design. \ 
This introduces new Node.iter_markers(name) and Node.get_closest_mark(name) \ 
APIs. Users are strongly encouraged to read the reasons for the revamp in the \ 
docs, or jump over to details about updating existing code to use the new APIs.
Now when @pytest.fixture is applied more than once to the same function a \ 
ValueError is raised. This buggy behavior would cause surprising problems and if \ 
was working for a test suite it was mostly by accident.
Support for Python 3.7’s builtin breakpoint() method, see Using the builtin \ 
breakpoint function for details.
monkeypatch now supports a context() function which acts as a context manager \ 
which undoes all patching done within the with block.
The --pdb option now causes KeyboardInterrupt to enter the debugger, instead of \ 
stopping the test session. On python 2.7, hitting CTRL+C again exits the \ 
debugger. On python 3.2 and higher, use CTRL+D.
pytest not longer changes the log level of the root logger when the log-level \ 
parameter has greater numeric value than that of the level of the root logger, \ 
which makes it play better with custom logging configuration in user code.

Bug Fixes
A rare race-condition which might result in corrupted .pyc files on Windows has \ 
been hopefully solved.
Also use iter_marker for discovering the marks applying for marker expressions \ 
from the cli to avoid the bad data from the legacy mark storage.
When showing diffs of failed assertions where the contents contain only \ 
whitespace, escape them using repr() first to make it easy to spot the \ 
   2018-04-25 08:57:01 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 3.5.1

Pytest 3.5.1:
Bug Fixes
Reset sys.last_type, sys.last_value and sys.last_traceback before each test \ 
executes. Those attributes are added by pytest during the test run to aid \ 
debugging, but were never reset so they would create a leaking reference to the \ 
last failing test’s frame which in turn could never be reclaimed by the \ 
garbage collector.
pytest.raises now raises TypeError when receiving an unknown keyword argument.
pytest.raises now works with exception classes that look like iterables.

Improved Documentation
Fix typo in caplog fixture documentation, which incorrectly identified certain \ 
attributes as methods.

Trivial/Internal Changes
Added a more indicative error message when parametrizing a function whose \ 
argument takes a default value.
Remove internal _pytest.terminal.flatten function in favor of \ 
Import some modules from instead of collections as the former \ 
modules trigger DeprecationWarning in Python 3.7.
record_property is no longer experimental, removing the warnings was forgotten.
Mention in documentation and CLI help that fixtures with leading _ are printed \ 
by pytest --fixtures only if the -v option is added.
   2018-03-23 09:58:00 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-test: updated to 3.5.0

Deprecations and Removals
record_xml_property fixture is now deprecated in favor of the more generic \ 
Defining pytest_plugins is now deprecated in non-top-level files, \ 
because they “leak” to the entire directory tree.

New --show-capture command-line option that allows to specify how to display \ 
captured output when tests fail: no, stdout, stderr, log or all
New --rootdir command-line option to override the rules for discovering the root \ 
directory. See customize in the documentation for details.
Fixtures are now instantiated based on their scopes, with higher-scoped fixtures
record_xml_property renamed to record_property and is now compatible with xdist, \ 
markers and any reporter. record_xml_property name is now deprecated.
New --nf, --new-first options: run new tests first followed by the rest of the \ 
tests, in both cases tests are also sorted by the file modified time, with more \ 
recent files coming first.
New --last-failed-no-failures command-line option that allows to specify the \ 
behavior of the cache plugin’s `--last-failed feature when no tests failed in \ 
the last run
New --doctest-continue-on-failure command-line option to enable doctests to show \ 
multiple failures for each snippet, instead of stopping at the first failure.
Captured log messages are added to the <system-out> tag in the generated \ 
junit xml file if the junit_logging ini option is set to system-out. If the \ 
value of this ini option is system-err`, the logs are written to \ 
``<system-err>. The default value for junit_logging is no, meaning \ 
captured logs are not written to the output file.
Allow the logging plugin to handle pytest_runtest_logstart and \ 
pytest_runtest_logfinish hooks when live logs are enabled.
Passing –log-cli-level in the command-line now automatically activates live \ 
Add command line option --deselect to allow deselection of individual tests at \ 
collection time.
Captured logs are printed before entering pdb.
Deselected item count is now shown before tests are run, e.g. collected X items \ 
/ Y deselected.
The builtin module platform is now available for use in expressions in pytest.mark.
The short test summary info section now is displayed after tracebacks and \ 
warnings in the terminal.
New --verbosity flag to set verbosity level explicitly.
pytest.approx now accepts comparing a numpy array with a scalar.

Bug Fixes
Suppress IOError when closing the temporary file used for capturing streams in \ 
Python 2.7.
Fixed clear() method on caplog fixture which cleared records, but not the text \ 
During test collection, when stdin is not allowed to be read, the \ 
DontReadFromStdin object still allow itself to be iterable and resolved to an \ 
iterator without crashing.

Improved Documentation
Added a reference page to the docs.

Trivial/Internal Changes
Change minimum requirement of attrs to 17.4.0.
Renamed example directories so all tests pass when ran from the base directory.
Internal module has been turned into a package.
pytest now depends on the more_itertools package.
Added warning when [pytest] section is used in a .cfg file passed with -c
nodeids can now be passed explicitly to FSCollector and Node constructors.
Internal refactoring of FormattedExcinfo to use attrs facilities and remove old \ 
support code for legacy Python versions.
Refactoring to unify how verbosity is handled internally.
Internal refactoring to better integrate with argparse.
Fix a python example when calling a fixture in doc/en/usage.rst
   2018-03-06 09:33:36 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 3.4.2

Pytest 3.4.2:

Bug Fixes
Removed progress information when capture option is no.
Refactor check of bindir from exists to isdir.
Fix TypeError issue when using approx with a Decimal value.
Fix reference cycle generated when using the request fixture.
[tool:pytest] sections in *.cfg files passed by the -c option are now properly \ 

Improved Documentation
Add logging plugin to plugins list.

Trivial/Internal Changes
Fix minor typo in fixture.rst
   2018-02-22 10:34:09 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 3.4.1

Pytest 3.4.1

Bug Fixes
Move import of doctest.UnexpectedException to top-level to avoid possible errors \ 
when using --pdb.
Added printing of captured stdout/stderr before entering pdb, and improved a \ 
test which was giving false negatives about output capturing.
Fix ordering of tests using parametrized fixtures which can lead to fixtures \ 
being created more than necessary.
Fix bug where logging happening at hooks outside of "test run" hooks \ 
would cause an internal error.
Detect arguments injected by unittest.mock.patch decorator correctly when pypi \ 
mock.patch is installed and imported.
Errors shown when a pytest.raises() with match= fails are now cleaner on what \ 
happened: When no exception was raised, the "matching '...'" part got \ 
removed as it falsely implies that an exception was raised but it didn't match. \ 
When a wrong exception was raised, it's now thrown
Fixed output capture handling in doctests on macOS.

Improved Documentation
Add Sphinx parameter docs for match and message args to pytest.raises.

Trivial/Internal Changes
pytest has changed the publication procedure and is now being published to PyPI \ 
directly from Travis.
Rename ParameterSet._for_parameterize() to _for_parametrize() in order to comply \ 
with the naming convention.
Skip failing pdb/doctest test on mac.
   2018-02-02 12:53:22 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 3.4.0

Pytest 3.4.0

Deprecations and Removals
- All pytest classes now subclass object for better Python 2/3 compatibility.
  This should not affect user code except in very rare edge cases.

- Introduce empty_parameter_set_mark ini option to select which mark to
  apply when @pytest.mark.parametrize is given an empty set of parameters.
  Valid options are skip (default) and xfail. Note that it is planned
  to change the default to xfail in future releases as this is considered
  less error prone.
- **Incompatible change**: after community feedback the logging
  <>_ functionality has
  undergone some changes. Please consult the logging documentation
  for details.
- Console output falls back to "classic" mode when capturing is \ 
disabled (-s),
  otherwise the output gets garbled to the point of being useless.
- New pytest_runtest_logfinish
  hook which is called when a test item has finished executing, analogous to
- Improve performance when collecting tests using many fixtures.
- New caplog.get_records(when) method which provides access to the captured
  records for the "setup", "call" and "teardown"
  testing stages.
- New fixture record_xml_attribute that allows modifying and inserting
  attributes on the <testcase> xml node in JUnit reports.
- The default cache directory has been renamed from .cache to
  .pytest_cache after community feedback that the name .cache did not
  make it clear that it was used by pytest.
- Colorize the levelname column in the live-log output.

Bug Fixes
- Fix hanging pexpect test on MacOS by using flush() instead of wait().
- Fix restoring Python state after in-process pytest runs with the
  pytester plugin; this may break tests using multiple inprocess
  pytest runs if later ones depend on earlier ones leaking global interpreter
- Fix skipping plugin reporting hook when test aborted before plugin setup
- Fix progress percentage reported when tests fail during teardown.
- **Incompatible change**: -o/--override option no longer eats all the
  remaining options, which can lead to surprising behavior: for example,
  pytest -o foo=1 /path/to/ would fail because /path/to/
  would be considered as part of the -o command-line argument. One
  consequence of this is that now multiple configuration overrides need
  multiple -o flags: pytest -o foo=1 -o bar=2.
   2018-01-05 16:28:37 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 3.3.2

Pytest 3.3.2:

Bug Fixes
- pytester: ignore files used to obtain current user metadata in the fd leak
- Fix **memory leak** where objects returned by fixtures were never destructed
  by the garbage collector.
- Fix conversion of pyargs to filename to not convert symlinks and not use
  deprecated features on Python 3.
- PYTEST_DONT_REWRITE is now checked for plugins too rather than only for
  test modules.

Improved Documentation
- Add clarifying note about behavior of multiple parametrized arguments

Trivial/Internal Changes
- Code cleanup.
- Clean up code by replacing imports and references of _ast to ast.
   2017-12-06 12:49:14 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 3.3.1

Pytest 3.3.1:

Bug Fixes
* Fix issue about -p no:<plugin> having no effect.
* Fix regression with warnings that contained non-strings in their arguments in \ 
Python 2.
* Always escape null bytes when setting PYTEST_CURRENT_TEST.
* Fix ZeroDivisionError when using the testmon plugin when no tests were \ 
actually collected.
* Bring back TerminalReporter.writer as an alias to TerminalReporter._tw. This \ 
alias was removed by accident in the 3.3.0 release.
* The pytest-capturelog plugin is now also blacklisted, avoiding errors when \ 
running pytest with it still installed.

Improved Documentation
* Fix broken link to plugin pytest-localserver.

Next | Query returned 53 messages, browsing 1 to 10 | Previous