Paul Ivanov
ea242a7c23
make tests actually run
12 years ago
Jonathan Frederic
4984e0f2c9
Added notebook and widget test groups.
12 years ago
Brian E. Granger
977b164d8e
Cleaning up JS tests controller.
12 years ago
Brian E. Granger
717f031e01
Adding dashboard navigation tests for dir browsing.
12 years ago
Thomas Kluyver
956fbde018
Prevent 'iptest IPython' from trying to run.
...
Closes gh-4006
12 years ago
Brian E. Granger
aa71651468
Fixing issues with js tests.
...
* Closing old pages to prevent fd leaks.
* Making sure kernels are killed to prevent fd leaks.
* Moving towards deleting old notebooks (this is not done, but
this should be merged as is).
12 years ago
MinRK
668d221bb6
exclude html nbconvert tests if nbconvert is not importable
12 years ago
MinRK
5d02c111bb
actually remove irunner
...
and mkdoctests, which was the only user of it
12 years ago
Thomas Kluyver
a0b60a24cd
Option to spew subprocess streams during tests
...
This supersedes PR #4268 .
Run the tests with '--subproc-streams show' to show output from
subprocesses (kernels, IPython.parallel components) in the terminal, or
with '--subproc-streams discard' to send it to /dev/null. By default (or
with '--subproc-streams capture') the output is piped, captured and
displayed only when tests fail. But in some situations, a test fails
because of an error which actually occurred earlier, so you have to see
all the output.
12 years ago
Thomas Kluyver
4e6a1c1d69
Don't check for wx in the test suite.
...
An interaction between wx and threads was blocking certain Unix signals,
causing an unrelated test to fail for me.
We were only checking for wx to exclude the inputhookwx module from the
test run. It contains no tests anyway, so we may as well just exclude it
in all cases.
12 years ago
Thomas Kluyver
627c67ac9d
Restore the ability to run tests from a function.
12 years ago
Thomas Kluyver
1c9386b6d6
StreamCapturer should die if main process crashes.
12 years ago
Thomas Kluyver
28fcac5088
Don't use select() in StreamCapturer
...
select() on Windows only works with sockets, not regular file
descriptors.
12 years ago
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.
12 years ago
Thomas Kluyver
79c0712752
Catch failures reading data from terminated subprocesses
12 years ago
Thomas Kluyver
d729dfbbe2
Fix passing extra arguments to Python test controllers
12 years ago
Thomas Kluyver
81660c08ce
Allow running Python tests on one section of the codebase
12 years ago
Thomas Kluyver
45faf9a949
Merge commit '37dadeb' (most of PR #4391 )
...
Conflicts:
IPython/testing/iptestcontroller.py
12 years ago
Paul Ivanov
4993ddd498
make js tests quieter, silence notebook server
12 years ago
Paul Ivanov
7546e57db4
make tests work on TravisCI
12 years ago
Thomas Kluyver
fc639f3d25
Separate out machinery for running JS tests
12 years ago
Paul Ivanov
5fbfc30a08
quieter notebook server output for js test suite
12 years ago
Paul Ivanov
3fdbeb5cae
use a temporary directory for js tests
12 years ago
Paul Ivanov
49770da5ea
--no-browser flag to js tests notebook server
12 years ago
Paul Ivanov
5f4c695aab
start and use notebook server for js test suite
12 years ago
Paul Ivanov
aaae8fd200
JSController working, `iptest js` runs casperjs
12 years ago
Paul Ivanov
66972d69bf
added javascript section with casperjs requirement
12 years ago
Paul Ivanov
8338f9ae90
simplify prepare_controllers logic
12 years ago
Thomas Kluyver
ab357f190b
Merge pull request #4393 from takluyver/tests-subproc-stream-capture
...
Capture output from subprocs during test, and display on failure
12 years ago
MinRK
77c1a10518
update test requirements for IPython.html
12 years ago
Thomas Kluyver
bc16465b66
Clean up formatting sys info for test report
12 years ago
Thomas Kluyver
d68658e3a1
Don't show subprocess output if there isn't any
12 years ago
Thomas Kluyver
4bcd7bd44d
Don't try to wait for StreamCapturer that was never started
12 years ago
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.
12 years ago
Thomas Kluyver
404fa0f034
Restore mention of number of test groups after success
12 years ago
Thomas Kluyver
9b25eb7cdb
More concise test summary info
12 years ago
Thomas Kluyver
93d653985a
Hopefully fix ordering of output on ShiningPanda
13 years ago
Thomas Kluyver
7db44e7e39
Fix excludes for IPython.testing
13 years ago
Thomas Kluyver
f24a3061f3
Use plain string searching for test exclusions.
...
Closes gh-4243
13 years ago
Thomas Kluyver
fd2c1c9157
Allow passing extra arguments to iptest through for nose
13 years ago
Min RK
db1ff54ec3
add nbconvert serve exclusions without tornado
13 years ago
Thomas Kluyver
2abff123ea
Simplify parsing -j arg
13 years ago
Thomas Kluyver
1e1e3c57f9
Unify entry points for iptest
13 years ago
Thomas Kluyver
860da5d81a
Allow 'iptest IPython.lib' as well as 'iptest lib'
13 years ago
Thomas Kluyver
296eecde56
Allow drilling down to individual tests using iptest command
13 years ago
Thomas Kluyver
1427c61097
Fix printing test failures on Python 3
13 years ago
Thomas Kluyver
0042dce3a6
Separate TestController base class which could be used for JS tests
13 years ago
Thomas Kluyver
f14a22e5f0
Also show which test groups didn't run
13 years ago
Thomas Kluyver
eba1f23058
Better coverage reporting
13 years ago
Thomas Kluyver
79cde3f20a
Allow xunit and coverage output
13 years ago