Bruno Oliveira
2adf810e5e
Add acceptance test for plugins which log tests multiple times
...
Fix #206
2017-08-10 11:18:52 -03:00
Bruno Oliveira
f8e138b986
Fix tests incorrectly identified if worker crashes during teardown stage
...
Fix #124
2017-08-10 10:43:40 -03:00
Bruno Oliveira
20a1b9ef11
Fix crash when transferring internal pytest warnings from workers to the master node
...
Fix #214
2017-08-09 17:55:16 -03:00
Bruno Oliveira
fb6a6872a0
Use pkg_resources to parse the actual pytest version
2017-08-09 10:10:01 -03:00
Bruno Oliveira
c31ec8b222
Skip test_logwarning on pytest versions older than 3.1
2017-08-09 10:10:01 -03:00
Bruno Oliveira
d0474076e9
Transfer warnings from workers to master
...
Fix #92
2017-08-09 10:10:01 -03:00
Bruno Oliveira
d564364c44
Add acceptance test for different traceback styles
2017-08-07 20:22:21 -03:00
Bruno Oliveira
d6139b2525
Make tests for loadscope deterministic
...
Fix #199
2017-08-04 18:18:42 -03:00
Bruno Oliveira
6e99c0d4c5
Fix flakes
2017-08-02 21:33:58 -03:00
Bruno Oliveira
a7f8c22ae5
Make "-nX" and "--dist=loadscope" work properly together
2017-08-02 21:23:52 -03:00
Bruno Oliveira
43f7dbeb02
Add functional tests for --dist=loadscope
2017-08-02 21:05:18 -03:00
Bruno Oliveira
8e2fdeee3e
Revert "- Reinforce test_crashing_item to match test name instead of test"
...
This reverts commit 99f667380f .
2017-06-10 09:43:59 -03:00
Bruno Oliveira
fae1e02c1d
Revert "Fix missing blank line."
...
This reverts commit 602694b817 .
2017-06-10 09:43:59 -03:00
xoviat
0789605d30
fixup py36 tests
2017-05-08 09:12:47 -05:00
reginaldl
602694b817
Fix missing blank line.
2017-02-23 15:14:24 -08:00
reginaldl
99f667380f
- Reinforce test_crashing_item to match test name instead of test
...
file.
- Add `test_crashing_item_teardown` to validate crash behavior at
teardown.
2017-02-23 15:01:48 -08:00
Bruno Oliveira
e5d8064534
Test using pytest 3.0
...
Fix #99
2016-12-05 20:12:29 -02:00
Bruno Oliveira
7d124ecf87
Replace "pytest_funcarg__" by @pytest.fixture
2016-08-04 20:26:08 -03:00
Bruno Oliveira
b4a7a1a8a8
Fix internal error when using --maxfail option
...
Fix #65
Fix #62
2016-06-06 20:55:54 -03:00
Bruno Oliveira
20fe1f9874
Skip progress display when in non-terminal (pytest >= 2.9)
...
See pytest-dev/pytest#1397
2016-05-11 22:15:25 -03:00
Bruno Oliveira
b27301e1d9
Improve test a bit and add CHANGELOG entry
2016-02-23 20:53:46 -03:00
Bruno Oliveira
7e6011541f
Fix flakes
2016-02-23 20:39:41 -03:00
hellmanj
7f8ae3944c
worker_id fixture as shown in #47
2016-02-23 17:58:33 -05:00
Bruno Oliveira
0127cac3f9
Unit test "auto" cpu detection
...
Use that instead of an acceptance test: on travis it would result in over 16 slaves being spawned,
which caused weird crashes on multiprocessing module during teardown
Fix #30
2015-12-14 23:00:59 -02:00
Bruno Oliveira
462a3eb9e2
Fix test_auto_detect_cpus flakyness
...
Fix #30
2015-12-12 12:55:41 -02:00
Bruno Oliveira
c58d22f279
Make xdist work even if looponfail or boxed are disabled
...
Fix #32
2015-12-12 11:14:58 -02:00
Bruno Oliveira
7da064f0fa
Mark test_auto_detect_cpus as xfail until #30 is fixed
2015-12-09 08:51:42 -02:00
Bruno Oliveira
5ddef63085
xdist now works if the internal tmpdir plugin is disabled
...
Fix #22
2015-12-05 12:09:00 -02:00
Bruno Oliveira
318080a49d
Mark test_each_multiple as xfail
...
Related to #20
2015-12-04 10:03:57 -02:00
Ronny Pfannschmidt
0f5ef95be8
flake8 cleanup
2015-09-01 22:37:51 +02:00
Floris Bruynooghe
02cb571da0
Merged pull request #18
2015-08-04 23:30:50 +01:00
Bruno Oliveira
4b1ddb9c81
Add --max-slave-restart option
...
Also changed wording used from "failed node" to "crashed slave", to conform
with other messages ("slave sw0 crashed")
2015-07-11 13:12:12 -03:00
Bruno Oliveira
9d4afbdfec
Add test, CHANGELOG and docs for auto-cpu detection PR
2015-07-11 12:14:48 -03:00
Bruno Oliveira
3330aac877
Add test for new pytest-2.8 behavior and add CHANGELOG entry
2015-07-11 11:45:27 -03:00
holger krekel
faf2e0861f
streamline tests so that they work wit pytest-2.8
2015-05-06 13:34:33 +02:00
Bruno Oliveira
d84f1f08d8
fix issue 594: xdist is not executing tests parametrized with random values
...
Now xdist properly reports the collection errors instead of silently failing to execute
the test suite.
2014-09-23 22:09:44 -03:00
holger krekel
3a75b754d0
- add changelog entry for restart-crashed-nodes
...
- fix a test which depended on dict ordering
- minor test cleanups
2014-09-18 18:12:42 +02:00
Floris Bruynooghe
b418f0701c
Functional tests for node restarting
2014-09-18 01:20:28 +01:00
Floris Bruynooghe
c4e0327824
Give up on this one test
2014-09-17 23:43:07 +01:00
Bruno Oliveira
f88275046f
fixed tests removing line numbers from output
...
Pytest no longer show line numbers in the --verbose output
2014-09-09 20:28:16 -03:00
holger krekel
cc237b0d8e
fix various flakes issues and add "flakes" to tox tests
2014-07-20 16:56:21 +02:00
holger krekel
67f80b7c2c
fix pytest issue503: avoid random re-setup of broad scoped fixtures
...
(anything above function).
2014-07-20 16:41:03 +02:00
holger krekel
de377c1001
use config.getoption instead of deprecated config.getvalue
...
and adapt a few tests to also run against pytest-2.6.0.dev
2014-05-14 08:13:56 +02:00
holger krekel
ab987d512c
make pexpect specific environments so that the canonical ones also run on windows. Also add a little sleep to a pexpect-related tests in the hope it helps the test consistently passing (Bah).
2014-01-27 19:47:37 +01:00
holger krekel
f144ef88e3
fix pytest issue41: re-run tests on all file changes, not just
...
randomly select ones like .py/.c.
2013-09-05 14:21:43 +02:00
Jonathan Hunt
6c1587a157
Added an additional test for import errors in --tx mode.
2013-04-28 16:06:41 -07:00
Jonathan Hunt
10c9c34c75
Passing tests, avoiding duplicate errors.
2013-04-25 18:20:40 -07:00
Jonathan Hunt
46b94c1c81
Report ImportErrors in distributed mode.
2013-04-25 18:04:24 -07:00
Jonathan Hunt
6038ec21ca
Added test to catch import failure in distributed mode.
2013-04-25 17:45:42 -07:00
holger krekel
8c6fea9895
remove usage of final_logerrors now that we have better teardown information
2011-12-02 21:03:58 +00:00