Jonathan Frederic
60c035f874
Hardcode exception for __pycache___
2014-02-08 11:19:27 -08:00
Jonathan Frederic
b5d465e3c7
removed casperjs
dir
2014-02-07 21:17:05 -08:00
Paul Ivanov
55684d7c1e
don't change name of section
2014-02-07 16:24:18 -08:00
Paul Ivanov
2c55a81efa
use js/subfolder/test.js syntax now
2014-02-07 16:21:54 -08:00
Paul Ivanov
4ad7e35809
shorten the js section names
2014-02-07 16:21:22 -08:00
Paul Ivanov
04e0725ba9
fat fingers
...
don't laugh. it's a serious problem.
2014-02-07 15:24:51 -08:00
Paul Ivanov
4f49ed4008
allow testing individual js files
...
all casperjs/ subdirectories now treated as test categories
2014-02-07 15:22:20 -08:00
Paul Ivanov
ea242a7c23
make tests actually run
2014-02-07 14:43:37 -08:00
Jonathan Frederic
4984e0f2c9
Added notebook and widget test groups.
2014-02-07 10:09:47 -08:00
Brian E. Granger
977b164d8e
Cleaning up JS tests controller.
2014-02-05 11:18:09 -08:00
Brian E. Granger
717f031e01
Adding dashboard navigation tests for dir browsing.
2014-02-04 15:53:28 -08:00
Thomas Kluyver
956fbde018
Prevent 'iptest IPython' from trying to run.
...
Closes gh-4006
2014-02-03 17:56:22 -08:00
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).
2014-01-31 10:42:23 -08: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
627c67ac9d
Restore the ability to run tests from a function.
2013-12-03 12:33:32 -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
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
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
Brian E. Granger
7d7912d732
Fixing test logic for nbconvert to get tests to pass.
2013-06-30 20:59:21 -07:00
Thomas Kluyver
e4a08d1036
Add test suite for autoreload extension
...
Closes gh-1912
2013-06-29 22:29:51 +01:00
Victor Zverovich
99eedefa41
Use absolute path to iptest, because the tests are not always run from $IPYTHONDIR.
2013-06-29 07:36:28 -07:00
MinRK
a3653e34b1
update references for IPython.html
2013-06-27 11:14:10 -07:00
Fernando Perez
a1c0b749ff
Fix imports in test suite.
2013-06-27 11:14:08 -07:00
Brian E. Granger
d2100bdc06
Fixing imports for frontend tests.
2013-05-16 16:08:20 -07:00
Brian E. Granger
8d8c2f6e5b
Updating tests for refactor.
2013-05-16 11:03:11 -07:00
MinRK
cb56d2378b
exclude fabfile from tests
...
closes #2890
2013-02-07 09:03:42 -08:00
MinRK
11a01f86ce
move IPython.inprocess to IPython.kernel.inprocess
2013-01-29 19:34:51 -08:00
MinRK
98dd01411e
test IPython.kernel
2013-01-28 22:25:58 -08:00
MinRK
c699d0f6a5
fix callback testing for pyzmq version_info
2013-01-28 16:06:56 -08:00
MinRK
1c196310d4
bump minimum pyzmq version to 2.1.11
...
and remove the associated workarounds for old pyzmq
2013-01-28 14:21:56 -08:00
Brian E. Granger
4fadfecbb7
Merge pull request #2724 from pberkes/embedded-ipython-v2
...
In-process kernel support (take 3)
2013-01-16 12:32:21 -08:00
Bradley M. Froehle
3493814467
Skip notebookapp testing if jinja2 is not available.
2012-12-18 13:13:02 -08:00
Thomas Kluyver
e344f37ebd
Merge pull request #2301 from takluyver/ast-transfomers
...
Ast transfomers
2012-11-30 13:51:43 -08:00
Bussonnier Matthias
b1662530a0
Merge pull request #2442 from minrk/signithalt
...
allow iptest to be interrupted
2012-09-28 01:14:45 -07:00
MinRK
d6db92b7e6
allow iptest to be interrupted
...
Previously `^C` would register as a regular test failure, and the test suite would continue, in which case halting `iptest` meant hitting `^C` nine times.
This change makes iptest take notice of sigint in a test runner, and aborts the run.
2012-09-27 15:58:00 -07:00
Fernando Perez
630e178616
Ensure that in-process test group doesn't create global IPython singleton.
...
Since the in-process group makes its own shells, it should avoid
creating the global singleton.
2012-09-27 10:18:14 -05:00
Thomas Kluyver
b6776682dc
Fix IPython.utils.warn API so messages are automatically displayed followed by a newline.
2012-08-14 14:15:30 +01:00
MinRK
27abd01589
skip crash tests by default
2012-08-10 22:15:14 -07:00
Brian Granger
421ada2837
Adding exclusion for the azure module in iptest.
2012-08-10 17:43:25 -07:00
Thomas Kluyver
31b326ca02
Exclude slow tests (IPython.parallel by default in iptest
2012-08-02 21:42:48 +01:00
Bradley M. Froehle
35493dabd2
Create a unique & temporary IPYTHONDIR for each testing group.
2012-07-25 18:35:55 -07:00
Bradley M. Froehle
f2b9bc6016
Print warning message if process could not be killed.
2012-07-25 17:43:50 -07:00