Thomas Kluyver
1c9386b6d6
StreamCapturer should die if main process crashes.
2013-11-06 09:59:51 -08:00
Thomas Kluyver
28fcac5088
Don't use select() in StreamCapturer
...
select() on Windows only works with sockets, not regular file
descriptors.
2013-10-29 17:08:34 -07:00
Thomas Kluyver
acd00de9dd
Simplify StreamCapturer for subprocess testing
...
Rather than using a transient pipe for each subprocess started, the
StreamCapturer now makes a single pipe, and subprocesses redirect their
output to it.
So long as this works on Windows (I've done brief testing, and os.pipe()
seems to be functional), this will hopefully make this much more robust.
The recent failures in ShiningPanda on IPython.parallel have been caused
by StreamCapturer.
2013-10-29 12:24:24 -07:00
Thomas Kluyver
79c0712752
Catch failures reading data from terminated subprocesses
2013-10-29 09:15:56 -07:00
Thomas Kluyver
d729dfbbe2
Fix passing extra arguments to Python test controllers
2013-10-29 09:15:56 -07:00
Thomas Kluyver
81660c08ce
Allow running Python tests on one section of the codebase
2013-10-29 09:15:56 -07:00
Thomas Kluyver
45faf9a949
Merge commit '37dadeb' (most of PR #4391 )
...
Conflicts:
IPython/testing/iptestcontroller.py
2013-10-23 14:00:14 -07:00
Paul Ivanov
4993ddd498
make js tests quieter, silence notebook server
2013-10-23 11:48:33 -07:00
Paul Ivanov
7546e57db4
make tests work on TravisCI
2013-10-23 11:05:58 -07:00
Thomas Kluyver
fc639f3d25
Separate out machinery for running JS tests
2013-10-23 11:05:58 -07:00
Paul Ivanov
5fbfc30a08
quieter notebook server output for js test suite
2013-10-23 11:03:12 -07:00
Paul Ivanov
3fdbeb5cae
use a temporary directory for js tests
2013-10-23 11:03:12 -07:00
Paul Ivanov
49770da5ea
--no-browser flag to js tests notebook server
2013-10-23 11:03:12 -07:00
Paul Ivanov
5f4c695aab
start and use notebook server for js test suite
2013-10-23 11:03:12 -07:00
Paul Ivanov
aaae8fd200
JSController working, iptest js
runs casperjs
2013-10-23 11:03:12 -07:00
Paul Ivanov
66972d69bf
added javascript section with casperjs requirement
2013-10-23 11:03:11 -07:00
Paul Ivanov
8338f9ae90
simplify prepare_controllers logic
2013-10-23 11:03:11 -07:00
Thomas Kluyver
ab357f190b
Merge pull request #4393 from takluyver/tests-subproc-stream-capture
...
Capture output from subprocs during test, and display on failure
2013-10-23 10:28:16 -07:00
MinRK
77c1a10518
update test requirements for IPython.html
2013-10-22 16:29:59 -07:00
Thomas Kluyver
bc16465b66
Clean up formatting sys info for test report
2013-10-22 15:17:38 -07:00
Thomas Kluyver
d68658e3a1
Don't show subprocess output if there isn't any
2013-10-21 17:48:13 -07:00
Thomas Kluyver
4bcd7bd44d
Don't try to wait for StreamCapturer that was never started
2013-10-21 17:37:34 -07:00
Thomas Kluyver
7d98362972
Capture output from subprocs during test, and display on failure
...
This probably needs some more thought on synchronisation so we don't miss
critical bits of output as the test ends.
2013-10-15 12:16:47 -07:00
Thomas Kluyver
404fa0f034
Restore mention of number of test groups after success
2013-10-14 16:22:19 -07:00
Thomas Kluyver
9b25eb7cdb
More concise test summary info
2013-10-14 16:19:36 -07:00
Thomas Kluyver
93d653985a
Hopefully fix ordering of output on ShiningPanda
2013-09-24 13:19:26 -07:00
Thomas Kluyver
7db44e7e39
Fix excludes for IPython.testing
2013-09-23 17:02:58 -07:00
Thomas Kluyver
f24a3061f3
Use plain string searching for test exclusions.
...
Closes gh-4243
2013-09-23 12:13:48 -07:00
Thomas Kluyver
fd2c1c9157
Allow passing extra arguments to iptest through for nose
2013-09-20 16:55:09 -07:00
Min RK
db1ff54ec3
add nbconvert serve exclusions without tornado
2013-09-19 15:25:00 -07:00
Thomas Kluyver
2abff123ea
Simplify parsing -j arg
2013-09-19 15:21:13 -07:00
Thomas Kluyver
1e1e3c57f9
Unify entry points for iptest
2013-09-19 15:21:13 -07:00
Thomas Kluyver
860da5d81a
Allow 'iptest IPython.lib' as well as 'iptest lib'
2013-09-19 15:21:13 -07:00
Thomas Kluyver
296eecde56
Allow drilling down to individual tests using iptest command
2013-09-19 15:21:13 -07:00
Thomas Kluyver
1427c61097
Fix printing test failures on Python 3
2013-09-19 15:21:13 -07:00
Thomas Kluyver
0042dce3a6
Separate TestController base class which could be used for JS tests
2013-09-19 15:21:13 -07:00
Thomas Kluyver
f14a22e5f0
Also show which test groups didn't run
2013-09-19 15:21:13 -07:00
Thomas Kluyver
eba1f23058
Better coverage reporting
2013-09-19 15:21:13 -07:00
Thomas Kluyver
79cde3f20a
Allow xunit and coverage output
2013-09-19 15:21:13 -07:00
Thomas Kluyver
3659828316
Improve test output
2013-09-19 15:21:13 -07:00
Thomas Kluyver
51653610ef
Fix cleanup of test controller
2013-09-19 15:21:13 -07:00
Thomas Kluyver
2138216f15
Start refactoring test machinery
2013-09-19 15:21:13 -07:00
Thomas Kluyver
1e013a8f1f
Split out iptestcontroller to control test process.
2013-09-19 15:18:28 -07:00
MinRK
6abcf90d4e
add nbconvert serve exclusions without tornado
2013-09-13 11:16:04 -07:00
Paul Ivanov
7e255d42dd
remove unnecessary print statement
2013-09-04 15:27:06 -07:00
Paul Ivanov
396ac5c74f
removing unnecessary print statements
2013-09-03 15:25:15 -07:00
Paul Ivanov
da4379ec26
parallel is slowest of all, moving it to the front
...
suggested by @minrk
2013-09-03 14:54:20 -07:00
Paul Ivanov
596df103e3
added prettier printing
2013-09-03 14:37:26 -07:00
Paul Ivanov
1c4f6afc0a
run test in parallel (FASTER)
2013-09-03 14:37:26 -07:00
Thomas Kluyver
7a07a1c88d
Drop monkeypatch for pre-1.0 nose
...
Closes gh-484
2013-08-19 14:56:45 -07:00