Commit Graph
9 Commits
Author SHA1 Message Date
Oleg Zharkov 4153970be8 rename to gtn_screenshot 2020-12-15 15:06:23 +01:00
Oleg Zharkov f509765b30 trailing line 2020-12-14 17:36:03 +01:00
Oleg Zharkov 2a632d8d67 add local, external decorators 2020-12-14 17:35:00 +01:00
Oleg Zharkov 8f4047f686 add pytest.ini 2020-12-14 17:03:52 +01:00
Oleg Zharkov f5501c4b97 add screenshot decorators 2020-12-14 16:51:37 +01:00
Nicola Soranzo 721a4656d9 pytest: disable test collection of classes starting with Test
Fix warnings like:

```
/home/travis/build/galaxyproject/galaxy/lib/galaxy/tools/verify/test_data.py:29: PytestWarning: cannot collect test class 'TestDataResolver' because it has a __init__ constructor
  class TestDataResolver(object):
```

appearing e.g. in https://travis-ci.org/galaxyproject/galaxy/jobs/428114139 .

See pytest documentation:
https://docs.pytest.org/en/latest/reference.html#confval-python_classes
2018-09-17 12:01:14 +01:00
mvdbeek 1c64cdd674 Use pytest to run unit and doctests 2018-08-25 14:17:58 +02:00
mvdbeek 300ab73c10 Mark skipped tests instead of not collecting them
Also marks tests as tool or data_manager, so `pytest -m
<tool|data_manager>` can be used to select a subset of tests.
2018-08-25 14:17:00 +02:00
mvdbeek bd92136841 Setup pytest python3 API testing 2018-08-10 22:08:15 +02:00