Commit Graph

1031 Commits

Author SHA1 Message Date
hellmanj
7f8ae3944c worker_id fixture as shown in #47 2016-02-23 17:58:33 -05:00
Bruno Oliveira
a11632b5d0 Remove old .hgtags file 2016-01-30 21:37:16 -02:00
Ronny Pfannschmidt
f19b804c67 Merge pull request #43 from nicoddemus/ci-refactorings
Refactor tox and ci scripts
2016-01-30 22:53:39 +01: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
023226840c Prepare CHANGELOG for next release 2016-01-30 12:03:55 -02:00
Bruno Oliveira
eee72557f7 Fix CHANGELOG for 1.14 release v1.14 2016-01-30 11:27:36 -02:00
Bruno Oliveira
53999d8433 Merge branch 'features' 2016-01-29 23:03:32 -02:00
Ronny Pfannschmidt
c57ac92302 Merge pull request #35 from nicoddemus/collect-finished-hook
Add new pytest_xdist_node_collection_finished hook
2016-01-29 15:07:44 +01:00
Ronny Pfannschmidt
100aa29832 Merge pull request #37 from nicoddemus/auto-detect-flaky2
Unit test "auto" cpu detection
2015-12-15 07:14:21 +01: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
Ronny Pfannschmidt
7dedb272ad Merge pull request #36 from nicoddemus/auto-detect-flaky
Fix test_auto_detect_cpus flakyness
2015-12-12 16:04:25 +01: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
Ronny Pfannschmidt
5d26154efb Merge pull request #33 from nicoddemus/disabled-subplugins
Make xdist work even if looponfail or boxed are disabled
2015-12-12 15:06:07 +01: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
8ba24ef627 Merge pull request #28 from nicoddemus/overview
First version of architecture overview doc
2015-12-12 10:20:28 -02:00
Bruno Oliveira
0a5bdfcda5 Add a FAQ section 2015-12-10 20:01:06 -02:00
Bruno Oliveira
1716767a1c Drop "node" from "workers" and "master" 2015-12-10 20:00:43 -02:00
Bruno Oliveira
c62effdd79 Reword reason why workers must keep a single test on queue always 2015-12-10 19:55:31 -02:00
Bruno Oliveira
b29ff73781 Apply small review requests
* Fixed typo
* Removed superfluous introduction
2015-12-09 19:00:20 -02:00
holger krekel
4e1354190d Merge pull request #31 from pytest-dev/xfail-auto-detect-cpus-test
Mark test_auto_detect_cpus as xfail until #30 is fixed
2015-12-09 13:26:27 +01: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
c39275ebeb Merge pull request #29 from yoloseem/typo
Fix typos
2015-12-09 08:02:42 -02:00
Hyunjun Kim
4ff6be21a8 Fix typos 2015-12-09 13:23:43 +09:00
Bruno Oliveira
10bc4b6e9a First version of architecture overview doc 2015-12-08 20:08:46 -02:00
Ronny Pfannschmidt
49ab918092 Merge pull request #27 from nicoddemus/fix-22-tmpdir
xdist now works if the internal tmpdir plugin is disabled
2015-12-05 20:42:41 +01: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
afd3f2bb01 Merge pull request #26 from pytest-dev/each_multiple-flaky
Mark test_each_multiple as xfail
2015-12-04 10:18:27 -02:00
Ronny Pfannschmidt
22fc01f672 Merge pull request #25 from nicoddemus/appveyor
[WIP] Simplify AppVeyor build and add badge
2015-12-04 13:11:30 +01:00
Bruno Oliveira
318080a49d Mark test_each_multiple as xfail
Related to #20
2015-12-04 10:03:57 -02:00
Ronny Pfannschmidt
a67ed2d9ba Merge pull request #24 from nicoddemus/travis-update
Update travis to use more recent python and pytest versions
2015-12-04 07:12:20 +01:00
Bruno Oliveira
55d9886efd Pass some environment variables so tmpdir can get the username in pytest27 2015-12-03 19:12:59 -02:00
Bruno Oliveira
500ddb2bb3 Merge branch 'travis-update' into appveyor 2015-12-03 19:07:22 -02:00
Bruno Oliveira
d59a4fb52b Simplify AppVeyor build and add badge
There's no point in creating a huge matrix because AppVeyor does
not run the builds in parallel; in fact it will greatly increase
build times as each matrix will boot a separate VM to execute on.

Also removed install.ps1 and run_with_env.cmd, which are only
really required if you have C extensions.
2015-12-03 18:53:20 -02:00
Bruno Oliveira
757c0806c9 Add appveyor badge 2015-12-03 18:44:16 -02:00
Bruno Oliveira
c39e53e6b0 pytest24,25,26 don't work on py35 due to changes in ast module so drop them from build matrix 2015-12-03 18:41:48 -02:00
Bruno Oliveira
ce464aab39 Update travis to use more recent python and pytest versions
- Fix current "python" environment on travis to 3.5
- Updated build matrix to give preference of testing all pytest versions in py27 and py35
2015-12-03 18:34:32 -02:00
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
Bruno Oliveira
d6dfee1cf2 Merge pull request #16 from nchammas/patch-1
Typo fixes to docstrings
2015-12-01 21:08:36 -02:00
Nicholas Chammas
4c22653fd4 Typo fixes to docstrings 2015-12-01 14:45:03 -05:00
Ronny Pfannschmidt
974bd566c5 Merge pull request #13 from sah/master
Do a better job parallelizing the inital batch of tests
2015-11-19 06:48:24 +01:00
Steven Hazel
412febd898 pep8 and python 3 compatibility fixes 2015-11-18 13:39:53 -08:00
Steven Hazel
3140873f0a bugfix: iterate in a python 3 compatible way 2015-11-18 13:34:39 -08: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
Omer Katz
26abac7a95 Added error handling to -n auto. 2015-11-09 12:30:10 +02:00
Ronny Pfannschmidt
14f39a7c4d Merge pull request #2 from nicoddemus/appveyor
Add appveyor support
2015-09-02 15:41:06 +02:00
Bruno Oliveira
03aa703103 Add setuptools_scm to the host environment 2015-09-02 09:57:44 -03:00
Bruno Oliveira
ca132e10af Fix links on README 2015-09-01 20:27:05 -03:00
Bruno Oliveira
6f93ae88ff Add appveyor support 2015-09-01 20:16:41 -03:00
Bruno Oliveira
d6a9b62680 Use pypi version image from shields.io 2015-09-01 18:00:24 -03:00