Commit graph

61 commits

Author SHA1 Message Date
John Miller
39f5d329f1 Functional tests start jupyter using ein:jupyter-server-start
This reduces some of the complexity in testein.py, but unfortunately running
tests is still unreliable. Running batchwise tests don't work at all in Windows,
and running from inside emacs tests often need to be run multiple times before
they pass.

The worst offender is the delete notebook test, which will pass on usually only
1 out of 3 tries.

Testing seems to have revealed a couple bugs, so win??
2017-04-07 08:18:41 -05:00
John Miller
ed633b1fd7 Functional tests that handle redirects. 2017-02-14 21:01:25 -06:00
John Miller
4bc3acf001 Desperate attempts to fix default coding when running testein. 2016-12-18 19:17:13 -06:00
John Miller
ea0c3e5433 testein.py: Stop emacs from launching interactively? 2016-12-18 18:17:22 -06:00
John Miller
fb31f0dec8 testein.py: Disable token authentication
I hope.
2016-12-18 18:11:33 -06:00
John Miller
abeb37e675 Testein and cask working together, maybe. 2016-12-18 16:21:03 -06:00
John Miller
cf70c7ecd9 Cleaning up testing
Trying to keep up with jupyter..
2016-09-30 13:24:28 -05:00
John Miller
6ea5c255aa Fix command template for windows
Windows did not like all those newlines. Less readable in the code but
at least it works.
2016-09-30 09:59:19 -05:00
John Miller
1d715011f0 Merge branch '38-fixing-testing' of https://github.com/millejoh/emacs-ipython-notebook into 38-fixing-testing 2016-05-17 20:14:21 -05:00
John Miller
e10bc60f30 Tweaks to functional testing and travis config.
Also adding environment definition for testing jupyter.
2016-05-17 16:22:05 -05:00
John Miller
f2697e1c69 More cleanup.
More versions of ipython we don't need to test against.
2016-04-22 15:01:13 +00:00
John Miller
43b91785ac Cleanup
Remove unsupporting versions of Ipython for testing.
2016-04-22 14:59:34 +00:00
Egon Kidmose
374dabece8 fix Typerror (str.strip got unicode, expected str) 2015-04-01 13:53:18 +02:00
Egon Kidmose
247acddbbe Requirements for ipython 3.0.0 2015-04-01 12:20:46 +02:00
millejoh
84f478aed6 Improving ipython 3 support in testein.py. Lots of fixes for notebook tests to
properly test nbformat 3 notebooks.
2015-02-02 13:20:24 -06:00
John Miller
fe7dc935c5 Fixing notebooklist-new-notebook
IPython 2.x+ has a JSON response when creating a new notebook. We detect
this and correctly parse the info so we can open a buffer with the newly
created notebook.

Also more updating of test code.
2014-12-04 13:52:36 -06:00
vagrant
a1afb096c7 Testing cleanup to run on vagrant. 2014-12-02 22:16:55 +00:00
John Miller
849adda708 Support for nbformat v4
BEWARE! This is a large commit and the code here is still mostly
untested. Back up your notebooks before giving this changeset a try with
the current IPython-dev version.

Given that, ein is now able to open and save basic notebooks saved in
nbformat 4. Still haven't tested more complex notebooks with embedded
images.
2014-11-07 19:28:09 -06:00
John Miller
c963d236c7 Documentation update and travis cleanup
Progressing back towards having automated testing via travis. Updated
contact info for ein:dev-bug-report-template and updated requirements in
README.rst.
2014-11-03 16:34:14 -06:00
Jessica B. Hamrick
b7a4692f69 Don't use GNU arguments for ps
Fixes #119
2013-06-28 15:41:36 -07:00
Takafumi Arakaki
d7cab8a225 Unfreeze tornado 2013-05-19 07:12:38 +02:00
Takafumi Arakaki
cbfc531671 Use pyzmq 2.2.0.1 when testing against IPython 0.12.* 2013-05-19 06:34:29 +02:00
Takafumi Arakaki
e1bcfe28ed Use tornado 2.4.1 when testing against IPython 0.12.* 2013-05-19 06:20:45 +02:00
Takafumi Arakaki
1fd6bbe305 Use git to install developmental version of IPython
Recent changes in IPython requires git submodule for installing
developmental version.
2013-05-19 06:01:49 +02:00
Takafumi Arakaki
e24078b03b Add request as dependency 2012-12-29 18:55:06 +01:00
Takafumi Arakaki
65f6800006 Add test_testein.py 2012-12-18 14:59:40 +01:00
Takafumi Arakaki
ba82de1bac Skip known failures by testein.py
fixes #74
2012-12-18 02:14:54 +01:00
Takafumi Arakaki
d1e710084c Better report for when test server died 2012-12-18 00:56:55 +01:00
Takafumi Arakaki
f8b2193d72 Add jinja2 as testing requirement for dev version
see: https://github.com/ipython/ipython/pull/2363
2012-12-17 22:06:11 +01:00
Takafumi Arakaki
05c6977433 Add --func-test-max-retries 2012-10-07 09:53:32 +02:00
Takafumi Arakaki
3eb69074dc Refactor testein.py: put dry_run logic in the base class 2012-10-07 09:35:25 +02:00
Takafumi Arakaki
5eece48c4e Fix tools/testein.py --dry-run 2012-09-28 02:19:31 +02:00
Takafumi Arakaki
8b05d26a97 Test against dev version of IPython 2012-09-19 00:50:12 +02:00
Takafumi Arakaki
3ce9ef9dd4 Do not clutter terminal when showing traceback 2012-09-18 23:55:36 +02:00
Takafumi Arakaki
79a30012c5 Show log when test fails 2012-09-18 23:55:31 +02:00
Takafumi Arakaki
410c6eb8ee Simplify TestRunner.report 2012-09-18 23:55:26 +02:00
Takafumi Arakaki
5cbbb73c9a Make pip install more quiet 2012-09-18 19:28:57 +02:00
Takafumi Arakaki
a2def2f47f Fix kill_subprocesses 2012-09-18 18:12:16 +02:00
Takafumi Arakaki
69ec2c14ac Do not hard code log file path in Makefile 2012-09-18 17:39:24 +02:00
Takafumi Arakaki
cd486f0c5b Fix failing Travis CI tests 2012-09-18 17:18:17 +02:00
Takafumi Arakaki
6bad835612 Refactor testein.py: add BaseRunner 2012-09-18 16:40:36 +02:00
Takafumi Arakaki
d010c19041 Use log/ to store server log 2012-09-18 16:26:02 +02:00
Takafumi Arakaki
94080b288c Shutdown IPython >=0.13 properly 2012-09-18 16:17:43 +02:00
Takafumi Arakaki
f368a1b5a9 Make Python virtualenv under env/
This is for testing against several IPython versions.
2012-09-18 16:17:43 +02:00
Takafumi Arakaki
ac0d07e68e Kill IPython server properly 2012-09-18 16:17:42 +02:00
Takafumi Arakaki
164ffe3700 Use ServerRunner to run server for func-test.el 2012-09-18 16:17:42 +02:00
Takafumi Arakaki
201ef1f17e Clear notebook files in ServerRunner 2012-09-18 16:17:42 +02:00
Takafumi Arakaki
22b8deeafb Add ServerRunner in testein.py 2012-09-18 16:17:42 +02:00
Takafumi Arakaki
7b9d3e6f7d Do not pass around base_command as argument 2012-09-18 00:36:25 +02:00
Takafumi Arakaki
dbe1a92dc2 Do not show_sys_info in interactive mode 2012-09-18 00:36:25 +02:00