Bruno Oliveira
7609e9376a
Fix call to report_collection_diff in test
...
"from" and "to" of the diff algorithm expect strings only
2015-12-03 18:34:32 -02:00
Steven Hazel
09d79ace35
Do a better job parallelizing the inital batch of tests when the
...
number of nodes is more than half the number of tests. This makes it
possible, for example, to run all tests in parallel, where previous
the maximum parallelization was half of all tests.
2015-11-18 13:06:04 -08:00
Ronny Pfannschmidt
0f5ef95be8
flake8 cleanup
2015-09-01 22:37:51 +02:00
Ronny Pfannschmidt
ec89a3c36b
split up the plugin and extend tox test matrix
2015-08-08 11:57:08 +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
2ea07f73a7
finalize 1.12 version, some more adaptation for pytest versions, streamlining tox.ini
2015-05-06 13:41:39 +02: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
7a0cb35322
modernize tox.ini a bit and make another test dict-ordering independent
2014-09-18 19:40:48 +02: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
e3c22c65b8
Fix slavemanage tests for new NodeManager API
2014-09-18 00:48:34 +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
Bruno Oliveira
9d549a0c06
Log different tests collected by slaves instead of an error
...
This is a proposal to fix #556 .
2014-08-02 20:59:45 -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
eb639d19ec
properly extend tests to cover xfailing capturing modes
2014-03-27 11:57:36 +01:00
holger krekel
4441002e95
fix pytest/xdist issue485 (also depends on py-1.4.21.dev1):
...
attach stdout/stderr on --boxed processes that die.
2014-03-26 18:33:09 +01: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
e26d4486fc
send multiple "to test" indices in one network message to a slave
...
and improve heuristics for sending chunks where the chunksize
depends on the number of remaining tests rather than fixed numbers.
This reduces the number of master -> node messages (but not the
reverse direction)
2014-01-27 11:37:40 +01:00
holger krekel
18a30fab7d
fix issue419: work with collection indices instead of node ids.
...
This reduces network message size.
2014-01-27 11:37:33 +01:00
holger krekel
a22e0384a1
a failing test for pytest issue419
2014-01-27 11:37:26 +01:00
Anatoly Bubenkov
152f965a70
fix ignores mixing
2013-12-05 16:35:56 +01:00
Anatoly Bubenkov
f4b86f0127
add glob support for rsyncignore. add command line option for rsyncignore
2013-12-05 15:19:31 +01:00
holger krekel
aad1aace52
merge fix pytest issue382 - produce "pytest_runtest_logstart" event again
...
in master. Thanks Aron Curzon.
2013-11-19 12:08:55 +01:00
holger krekel
ca54911481
ignore directories and pyc files for changes (editors write tmp/swap
...
files etc., which also affects mtime of directory)
2013-10-07 10:28:08 +02:00
holger krekel
8e88261c15
ignore dot files for file changes (editors write tmp/swap files etc.)
2013-10-07 10:20:24 +02:00
holger krekel
b88b23e358
some test fixes and configure tox-testing against pytest==2.3.5 and pytest>=2.4.2
2013-10-04 10:34:24 +02:00
holger krekel
45dd5975f0
Merged in dimazest/pytest-xdist/collection_diff_reporting (pull request #3 )
...
Give more context when nodes collected different tests.
2013-09-05 16:23:12 +02:00
Dmitrijs Milajevs
fa96143aeb
Cleanup
2013-09-05 15:30:37 +02:00
Dmitrijs Milajevs
9a50d9de17
Give more context when nodes collected different tests.
2013-09-05 15:24:27 +02: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
0be3d4b077
fix py3 issue
2013-04-02 10:48:26 +02:00
holger krekel
c44fe4e234
merge again
2013-04-02 10:30:52 +02:00
holger krekel
a771352f01
merge
2013-04-02 10:29:51 +02:00
Jeremy Thurgood
587d1501a7
Avoid collecting duplicate failures when using --looponfail.
2013-03-27 17:34:58 +02:00
Ronny Pfannschmidt
663cd81117
add a test to check deserialization of nonstandard test report attributes
2012-01-20 19:53:41 +01:00
holger krekel
aed7a5a07e
fix tests by properly removing __pycache__ files
2011-12-15 07:41:09 +01:00
holger krekel
8c6fea9895
remove usage of final_logerrors now that we have better teardown information
2011-12-02 21:03:58 +00:00
holger krekel
1f6d410481
fix issue 93 of pytest - avoid delayed teardowns
2011-12-02 21:03:29 +00:00
holger krekel
e8ae2f9090
small fixes to test suite
2011-11-18 16:03:02 +00:00