Skip to content

Add 'duration_ms' output#1

Open
NicolaiSoeborg wants to merge 45 commits into
Barfred:masterfrom
NicolaiSoeborg:subtests
Open

Add 'duration_ms' output#1
NicolaiSoeborg wants to merge 45 commits into
Barfred:masterfrom
NicolaiSoeborg:subtests

Conversation

@NicolaiSoeborg
Copy link
Copy Markdown

Should work with the jenkins tap plugin, but not tested yet

mblayman and others added 30 commits May 11, 2018 22:24
* expectedFailure should be treated as a TODO.

This aligns better with the specification.

> These tests represent a feature to be implemented or a bug to be fixed
and act as something of an executable “things to do” list. They are not
expected to succeed.

Fixes python-tap#74

* Update the release docs.

* Try to fix brew.
* initial version of version 13 support

* show example of invalid diagnostic

* fix yaml end detection; add test

* change ModuleNotFoundError to ImportError

* remove print statements from tests

* change strings to unicode for python2

* change strings to unicode for python2

* add testing of optional modules

* fix flake8 errors

* fix pep8 for real

* limit imports

* improve test cases

* lingering long line

* fix multiline string for 2.7

* ignore ImportError for coverage

* add/clean tests

Add tests for malformed yaml, empty file, and warning message. Cleaned
tests by making more consistent

* clean up process of parsing yaml

* document support for v13

* remove extra test run

* increase version number

* clean up last test case

* fix tests for py2 and 3

* remove unicode from print statements

* Tweak the docs a bit.

* AppVeyor doesn't like the with version of NamedTemporaryFile.
* add-tappy-version13-header-to-producer

* update-import-of-mock-for-multiple-versions-of-python

* add-tap-version-to-streaming-and-small-pr-comments

* add-patch-to-test-to-pass-in-any-environment

* fix-test
* write the plan line up front in streaming mode

This adds a .set_plan() method on Tracker so that streaming
reporters can report how many tests they expect. If this method
is NOT called, legacy behavior is preserved (the plan is written
out to the stream at the end)

* Add contribution and release-notes

* tests for both streaming and non-streaming .plan usage

* better comments

* write plan first if set_plan was called

* nicer docstring

* error if set_plan called when not combined or streaming

* unused variables

* whitespace

* unit-test when plan= is provided to Tracker

* flake8
Build upon python-tap#72 from Mikael
* Add official support for Python 3.7.

* Try bumping everything to 16.04.

* Fix lint error and try pypy3.

* Try 3.5 version of pypy.
* Drop 3.4 support and prep 2.6 release.

* Try a Windows specific environment.

* What's in site-packages?

* Make sure the command runs.

* The "I don't care anymore version."
`python setup.py test` is not the way we recommend running tests
in the contributing guides and it was broken anyway.

Fixes python-tap#85
* Drop support for Python 2.

Fixes python-tap#94

* Remove unused import.
* Use Python 3 for the macOS build.

* Let's try to simplify based on the Travis CI docs.

* Try to stick with pip instead of pip3.
* Support subtests

* Add myself to AUTHORS

* Just use a simple dict - _SubTest works fine with it, and _OrderedChainMap is not available in all Python versions

* Better mocking of subTest context manager

* Skip test for Python 2

* Blackify

* Ignore coverage on method that is only supportd on Python 3

* Align method names with the rest of the class

* Move name to alphabetical entry.

* Enable coverage and remove Python2 crutches now that we're Python3-only

* Document new subtest support

* Remove unused import

* Implment suggested assert change
* Let source packages also contain mo files

This removes the dependency on Babel for source-based package installation.

* Remove whitespace

* Remove Babel from deps

* Remove Babel from install deps
mblayman and others added 15 commits December 14, 2019 19:44
This library is so small that it's easier to create a virtualenv.
* Add support for running like ``python -m tap``.

Fixes python-tap#84

* Test that the module runner works.

* Test the main_module function.
Co-authored-by: Nicolas Caniart <nicolas@caniart.net>
)

The header is only "# TAP results for FakeTestCase" if we are running
in an English locale, or in a locale not otherwise supported by tappy.
For example, test failure can be reproduced with:

    $ LANGUAGE=fr_FR.utf8 pytest-3 build/lib

Signed-off-by: Simon McVittie <smcv@debian.org>
* Add latest Python versions

* Add 3.8 and move custom includes to latest version

* Announce Python 3.8 support in metadata

* Document Python 3.8 support
* Replace global is_peekable with a check on every file

Fixes python-tap#107

* peekable is only available in version 13 mode

* Add test for parsing mixed-version TAP files

* Fix linter errors by de-duplicating common idiom

* blacken
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants