Bruno Oliveira
d564364c44
Add acceptance test for different traceback styles
2017-08-07 20:22:21 -03:00
Bruno Oliveira
435e5e8ac5
Fix serialization report tests
...
No idea why using "-n1" on one of the those tests makes the
second test to fail.
See pytest-dev/pytest-xdist#202 for a full description.
2017-08-07 20:21:40 -03:00
Bruno Oliveira
fbe793ed04
Merge pull request #1 from RonnyPfannschmidt/remove-boxed
...
Remove boxed and provide --boxed via pytest-forked
2017-08-05 05:06:24 -03:00
Bruno Oliveira
5dc87143ad
Fix serialization of native tracebacks
...
Fix #196
2017-08-04 20:13:30 -03:00
Bruno Oliveira
d6139b2525
Make tests for loadscope deterministic
...
Fix #199
2017-08-04 18:18:42 -03:00
Ronny Pfannschmidt
ad3e45590f
remove the boxed plugin code
2017-08-04 21:01:36 +02: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
Carlos Jenkins
8356cfa39d
Split schedulers into their own submodule.
2017-07-28 23:55:09 -06:00
Bruno Oliveira
64f8ad5469
Fix internal handling in process_from_remote
...
Fix #175
2017-07-27 20:50:09 -03:00
thou
530c9b234a
Unserialize reprlocals to a ReprLocal instance
2017-06-30 15:00:50 -05:00
thou
5c1a35fee4
Serialization / Deserialization was dropping longrepr.sections
2017-06-27 16:30:49 -05:00
Bruno Oliveira
6e1154881d
Merge pull request #164 from timyhou/master
...
Issue #130
2017-06-23 19:39:27 -03:00
Bruno Oliveira
47b65716a3
Fix test for --numprocess flag
2017-06-22 21:47:34 -03:00
Max Linke
dbaf49cd69
add '--numprocesses' as long option for '-n'
...
This is more verbose in scripts that run pytest-xdist. It can also help
in some ci-helper scripts like to auto detect if pytest-xdist should be
installed.
2017-06-22 21:53:16 +02:00
thou
f0dee10a0d
Fix failing test since spawn.out does not contain "LOOPONFAILING" in pytest >= 3
2017-06-21 13:37:03 -05:00
thou
4a1f1d879b
Updated serialize_report and unserialize_report to pass entire exception info using ReprExceptionInfo.
...
This addresses issue #130 .
2017-06-21 13:36:58 -05: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
a867f71c7a
Merge pull request #89 from wronglink/custom_scheduler
...
[WIP] Allow custom scheduler class implementation
2017-02-16 09:40:36 -02:00
Michael Elovskikh
4ed8161ef8
Renamed scheduller remove_item method to mark_test_complete
2017-02-15 23:54:23 +05:00
Michael Elovskikh
c809406ef6
Refactor scheduller interface, make more properties instead of methods
2017-02-15 11:43:56 +05:00
Michael Elovskikh
a99e6e7ca8
Clean up scheduller interfaces
2017-02-15 00:21:26 +05:00
Michael Elovskikh
6200123fac
Made EachScheduling.numnodes countable from config
2017-02-14 20:19:55 +05:00
Michael Elovskikh
a2aaf9bf04
Rename init_distribute() to more clear schedule()
2017-02-14 20:19:55 +05:00
Michael Elovskikh
27ffbbb4f7
Unified scheduler class interface
2017-02-14 20:19:55 +05:00
Michael Elovskikh
cf863fd38a
Remove unnecessary test
2017-02-14 20:19:55 +05:00
Michael Elovskikh
3165b78936
Test custom scheduler plugin config
2017-02-14 20:19:55 +05:00
Katerina Koukiou
63431e749e
Add worker_id into TestReport
2017-02-14 15:45:06 +01:00
Bruno Oliveira
e5d8064534
Test using pytest 3.0
...
Fix #99
2016-12-05 20:12:29 -02:00
Bruno Oliveira
a2881fd8a9
Fix test_auto_detect_cpus
2016-08-06 17:06:37 -03:00
Bruno Oliveira
d498cb3e0f
Add env variables to identify workers
2016-08-04 21:53:13 -03: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
8ec8d29cbf
Mark test_remoteinitconfig as xfail
...
#59
2016-05-11 22:25:12 -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
96506867d1
Refactor tox and ci scripts
...
Make sure a plain "tox" command works in all platforms without failures,
which facilitates making releases using a "devpi upload/test" workflow
* Fix small flakes failures
* Limit py35 testing to pytest>=2.7, as pytest<2.7 does not work on py35
* pexpect environments only work on Linux platforms and should be skipped on Windows
* Simplify AppVeyor script by running all tox environments: no need to have a build matrix
because AppVeyor does not execute builds in parallel
* Add all environments to travis.yml, obtained from "tox --listenvs"
2016-01-30 16:47:07 -02:00
Bruno Oliveira
53999d8433
Merge branch 'features'
2016-01-29 23:03:32 -02: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
2ae9bd7f43
Add new pytest_xdist_node_collection_finished hook
...
Fix #8
2015-12-12 12:44:27 -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