Commit Graph

220 Commits

Author SHA1 Message Date
Thomas Kluyver
db179403f8 Merge pull request #6510 from Carreau/removecython
Remove cython extension and examples.
2014-10-11 11:27:25 -07:00
MinRK
91c7d00f95 use jsonschema refs, no need for jsonpointer 2014-10-08 12:33:31 -07:00
Matthias Bussonnier
fe99c27175 remove cython extension.
Now in cython package itself, as stable.
2014-09-21 11:29:47 +02:00
Thomas Kluyver
347e16aa22 No need to check for rpy2 in test machinery 2014-08-11 10:06:31 -07:00
Paul Ivanov
6162c99028 nbconvert requires mistune
You get a cryptic error message from iptest if mistune is not installed.

Test group: nbconvert
E
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'nbconvert')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 403, in loadTestsFromName
    module = resolve_name(addr.module)
  File "/usr/lib/python2.7/dist-packages/nose/util.py", line 321, in resolve_name
    obj = getattr(obj, part)
AttributeError: 'module' object has no attribute 'nbconvert'

----------------------------------------------------------------------
Ran 1 test in 0.001s

FAILED (errors=1
2014-08-06 15:37:29 -07:00
John Stowers
d025cb6176 exclude gtk3 gui modules from tests 2014-07-26 20:38:15 +02:00
Thomas Kluyver
38d1f3dbc5 nbformat also requires jsonpointer 2014-06-10 12:37:45 -07:00
Thomas Kluyver
e0e91460c8 Require jsonschema for nbformat, html and nbconvert tests 2014-06-10 12:11:16 -07:00
Jonathan Frederic
99a0013525 Adde slimerjs support to JS tests
This commit contains 16 more, squashed commits:

Added slimerjs flag

Fixed some bugs with flag code

Figured out how to add arg correctly

Cleanup

Improvements to the test framework for FF

Log to see if slimmer is actually running

Added print in controller to debug

Added full logging to casperjs

Remove the special logging logic since it was caussing a failure

remove notebook.dirty = false line in favor of
overwritting onbeforeunload.

Capture output for slimerjs

Fixed iptestcontroller rebase issues

Fixed rebase issues.

Wait for notebook to load completely before testing

Fixed stdout capture for slimerjs tests.

Clean-up comments in util.js

Added slimerjs to Travis

Fixed indent .travis.yml

Comment out slimerjslauncher env var.

Removed zmq flag which doesn't work there anyways,
it was added by me in a recent commit

Fixed travis yaml,

broken because of rebase
2014-06-04 12:10:29 -07:00
Thomas Kluyver
c6de836564 Remove the octavemagic extension.
It is part of oct2py, so we can stop testing and documenting it now.
2014-04-02 10:42:43 -07:00
MinRK
a16acb246d html and js tests require sqlite3 (session manager) 2014-03-20 15:13:05 -07:00
Kyle Kelley
c9adc812bf Remove remaining refs to the Azure NB Manager 2014-02-12 14:18:04 -07:00
MinRK
668d221bb6 exclude html nbconvert tests if nbconvert is not importable 2013-12-23 12:45:59 -08:00
MinRK
5d02c111bb actually remove irunner
and mkdoctests, which was the only user of it
2013-12-16 11:21:46 -08:00
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.
2013-12-13 12:11:14 -08:00
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.
2013-12-04 11:25:46 -08:00
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
fc639f3d25 Separate out machinery for running JS tests 2013-10-23 11:05:58 -07:00
Paul Ivanov
66972d69bf added javascript section with casperjs requirement 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
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
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
Min RK
db1ff54ec3 add nbconvert serve exclusions without tornado 2013-09-19 15:25:00 -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
eba1f23058 Better coverage reporting 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
Thomas Kluyver
09bb0830a8 Remove extra assert methods needed for Python 2.6 2013-08-12 17:52:55 -07:00
MinRK
af88c03774 exclude IPython.lib.kernel in iptest
when pyzmq is unavailable
2013-08-08 13:03:34 -07:00
Jonathan Frederic
6803663813 nbconvert no longer depends on markdown 2013-07-18 14:22:38 -07:00
Jonathan Frederic
7782f29910 Re-enable files directory exclusion. 2013-07-17 16:17:25 -07:00
Jonathan Frederic
ed83c16fa4 Travis, test without exclusion... 2013-07-17 15:58:45 -07:00
Jonathan Frederic
86b4f48476 Exclude nbconvert testing config files from iptest interpretation. 2013-07-17 15:40:30 -07:00
Thomas Kluyver
1b66bd9615 Remove unused imports in IPython.testing 2013-07-02 23:00:28 +01:00
Brian E. Granger
13c93844ed Merge pull request #3500 from ipython/nbconvert
Merge nbconvert into IPython
2013-07-01 10:33:20 -07:00