summaryrefslogtreecommitdiff
path: root/tests/test_html.py
Commit message (Collapse)AuthorAgeFilesLines
* fix(html): fix a few problems with the html reportNed Batchelder2021-10-231-11/+11
| | | | | | | | | | - highlights weren't showing - anchored lines were not visible - some j/k motions were broken - clicking the big buttons at the top didn't work
* test: sometimes pytest directories have a "popen" componentNed Batchelder2021-10-231-3/+4
| | | | | Those have to be scrubbed too. I'm not sure why it's sometimes there, sometimes not. Maybe xdist?
* refactor: no more need for a search path for static filesNed Batchelder2021-10-231-57/+1
| | | | | | | We used to search an OS-specific directory in addition to our own, specifically so that Debian could use an OS-installed copy of jQuery and its plugins. But we no longer have jQuery or any third-party JavaScript code, so we don't need to search the Debian directories.
* test: remove some obsolete HTML scrubsNed Batchelder2021-10-171-5/+0
|
* test: don't show these functions when HTML gold files failNed Batchelder2021-10-171-0/+1
|
* test: html scrubs need to account for pytest dir namingNed Batchelder2021-10-171-0/+1
|
* test: improve this one html testNed Batchelder2021-10-171-3/+3
|
* refactor: no need for maybe-u prefixes in test regexesNed Batchelder2021-10-101-1/+1
| | | | That was for Python 2, which we don't support anymore.
* feat: mention skipped file counts in the HTML report. #1163Ned Batchelder2021-08-061-0/+4
|
* test: change how we keep mismatched actual outputNed Batchelder2021-07-151-0/+1
| | | | | | | | | | | | Now when a goldtest has a failure, the actual mismatched output will be written to the tests/actual directory. Along the way, I removed some obsolete settings which were only used by unittest and unittest_mixins, which we no longer use: - COVERAGE_KEEP_TMP - COVERAGE_ENV_ID - $TMPDIR/coverage_test
* fix: generate flat file names differentlyNed Batchelder2021-07-151-3/+10
| | | | | | | | Fixes a few unusual issues with reports: - #580: HTML report generation fails on too long path - #584: File collisions in coverage report html - #1167: Remove leading underscore in coverage html
* feat: warnings are now real warningsNed Batchelder2021-05-301-7/+8
| | | | | | This makes coverage warnings visible when running test suites under pytest. But it also means some uninteresting warnings would show up in our own test suite, so we had to catch or suppress those.
* refactor: move exceptions to their own moduleNed Batchelder2021-05-021-1/+1
|
* refactor: pyupgrade --py36-plus tests/**.pyNed Batchelder2021-05-021-8/+7
|
* refactor: remove unneeded backward.py shimsNed Batchelder2021-05-011-4/+3
| | | | | | | | | | | | | | | Removed were: - StringIO - configparser - string_class - unicode_class - range - zip_longest - get_thread_id - path_types - shlex_quote - reprlib
* refactor: remove code explicitly choosing between py2 and py3Ned Batchelder2021-05-011-2/+0
|
* refactor: our own change_dir context managerNed Batchelder2021-03-111-1/+1
| | | | We don't need to use the one from unittest_mixins.
* test: reduce use of unittestNed Batchelder2021-03-111-4/+4
|
* test: have pytest collect test classes uniformlyNed Batchelder2021-03-111-1/+1
|
* refactor: simplify a one-iteration loopNed Batchelder2021-02-251-4/+3
|
* style: fix long lines and avoid backslashesnedbat/unittest2pytestNed Batchelder2021-01-311-17/+13
|
* style: correct placement of auto-added pytest importsNed Batchelder2021-01-311-1/+1
|
* refactor: unittest2pytest -w testsNed Batchelder2021-01-311-47/+35
| | | | One step of moving to pure pytest tests.
* skip_covered and skip_empty for HTML. #1090Ned Batchelder2021-01-101-19/+33
|
* Need new gold files for pep626 partial branch HTML reportNed Batchelder2021-01-101-16/+34
|
* Fix tests for GitHub windows platformNed Batchelder2020-11-281-1/+3
| | | | | | | | | | | | | | The tests were failing because of differences in file paths. It was comparing: C:\Users\runneradmin\AppData\... to: C:\Users\RUNNER~1\AppData\... and failing. These changes normalize the file paths so the comparisons work properly.
* More bitbucket->github urlsNed Batchelder2020-08-181-5/+5
|
* Displaying timezone information in HTML report (#960)Xie Yanbo2020-07-231-0/+6
| | | | | | | | * Displaying timezone information in HTML report * A helpber to format datetime with local timezone * No backward compatibility with older python versions
* fix context reporting for relative_filesDavid Szotten2019-12-211-0/+17
| | | | | | fix reporting of contexts when `relative_files = True` fixes #900
* Polish up cmd.rstNed Batchelder2019-12-081-1/+1
|
* Clean-ups I noticed while doing something elseNed Batchelder2019-11-171-1/+2
|
* Optionally skip empty files in reportsreybog902019-11-011-0/+14
|
* This test accidentally triggered our exclude regex during metacovNed Batchelder2019-10-141-7/+7
|
* More convenient gold file structureNed Batchelder2019-10-141-43/+40
|
* Remove vestigial debuggingNed Batchelder2019-10-141-2/+0
|
* I don't think I need my home dir scrubbedNed Batchelder2019-10-131-2/+0
|
* Better presentation of contexts. #855Ned Batchelder2019-10-131-4/+10
|
* Warn if asked to show context but none were measured. #851Ned Batchelder2019-10-101-11/+20
|
* The C tracer can do dynamic contexts, so don't skip this testNed Batchelder2019-10-101-4/+0
|
* Context patterns are regexes, not globsNed Batchelder2019-10-021-1/+1
|
* No need for format indexes (mostly)Ned Batchelder2019-09-011-1/+1
|
* Remove the JSON data codeNed Batchelder2019-07-101-1/+0
|
* HTML: Mark things to show instead of to hide.Ned Batchelder2019-07-061-3/+3
| | | | | | | | | | Also made some other changes along the way: * Scroll bar markers change as the selected categories change. * We don't use css class 'stm' for anything, get rid of it. * Better sass use all around.
* Clean up and test filtering contexts for reportingNed Batchelder2019-07-011-3/+18
|
* Context reporting improvements and testNed Batchelder2019-06-301-5/+62
| | | | | Contexts should only be reported on lines that are marked as executed. The empty outer context is now reported as "(empty)".
* Make a Unicode character more apparent in the sourceNed Batchelder2019-06-301-2/+6
|
* TypoNed Batchelder2019-06-291-1/+1
|
* Remove ShiningPanda hackNed Batchelder2019-06-171-8/+0
|
* Make the incremental checker a little smarter.Ned Batchelder2019-06-171-2/+2
|
* This was a copy of an existing test. We need to write some new ones.Ned Batchelder2019-06-101-20/+1
|