Show More
@@ -18,11 +18,12 b' from IPython.kernel.core.interpreter import Interpreter' | |||||
18 | import IPython.kernel.engineservice as es |
|
18 | import IPython.kernel.engineservice as es | |
19 | from IPython.testing.util import DeferredTestCase |
|
19 | from IPython.testing.util import DeferredTestCase | |
20 | from twisted.internet.defer import succeed |
|
20 | from twisted.internet.defer import succeed | |
21 | from IPython.frontend.cocoa.cocoa_frontend import IPythonCocoaController |
|
|||
22 |
|
21 | |||
|
22 | try: | |||
|
23 | from IPython.frontend.cocoa.cocoa_frontend import IPythonCocoaController | |||
23 | from Foundation import NSMakeRect |
|
24 | from Foundation import NSMakeRect | |
24 | from AppKit import NSTextView, NSScrollView |
|
25 | from AppKit import NSTextView, NSScrollView | |
25 |
|
26 | except ImportError: | ||
26 | class TestIPythonCocoaControler(DeferredTestCase): |
|
27 | class TestIPythonCocoaControler(DeferredTestCase): | |
27 | """Tests for IPythonCocoaController""" |
|
28 | """Tests for IPythonCocoaController""" | |
28 |
|
29 |
@@ -20,7 +20,6 b' from twisted.internet import defer' | |||||
20 | from IPython.kernel import engineservice as es |
|
20 | from IPython.kernel import engineservice as es | |
21 | from IPython.kernel import multiengine as me |
|
21 | from IPython.kernel import multiengine as me | |
22 | from IPython.kernel import newserialized |
|
22 | from IPython.kernel import newserialized | |
23 | from IPython.kernel.error import NotDefined |
|
|||
24 | from IPython.testing import util |
|
23 | from IPython.testing import util | |
25 | from IPython.testing.parametric import parametric, Parametric |
|
24 | from IPython.testing.parametric import parametric, Parametric | |
26 | from IPython.kernel import newserialized |
|
25 | from IPython.kernel import newserialized |
@@ -349,6 +349,39 b' IPython. The current prototype of ``tconfig`` is located in the IPython sandbox.' | |||||
349 | .. _ConfigObj: http://www.voidspace.org.uk/python/configobj.html |
|
349 | .. _ConfigObj: http://www.voidspace.org.uk/python/configobj.html | |
350 | .. _Traits: http://code.enthought.com/traits/ |
|
350 | .. _Traits: http://code.enthought.com/traits/ | |
351 |
|
351 | |||
|
352 | Installation and testing scenarios | |||
|
353 | ================================== | |||
|
354 | ||||
|
355 | This section outlines the various scenarios that we need to test before we release an IPython version. These scenarios represent different ways of installing IPython and its dependencies. | |||
|
356 | ||||
|
357 | Installation scenarios | |||
|
358 | ---------------------- | |||
|
359 | ||||
|
360 | 1. Install from tarball using `python setup.py install`. | |||
|
361 | a. With only readline+nose dependencies installed (test1) | |||
|
362 | b. With all dependencies installed (readline, zope.interface, | |||
|
363 | Twisted, foolscap, Sphinx, nose, pyOpenSSL) (test2) | |||
|
364 | 2. Install using easy_install. | |||
|
365 | a. With only readline+nose dependencies installed (test3) | |||
|
366 | i. Default dependencies. | |||
|
367 | ii. Optional dependency sets (kernel, doc, test, security) | |||
|
368 | easy_install -f ipython-0.9.beta3-py2.5.egg IPython[kernel,doc,test,security] | |||
|
369 | ||||
|
370 | b. With all dependencies already installed (test2) | |||
|
371 | ||||
|
372 | ||||
|
373 | Tests to run for these scenarios | |||
|
374 | -------------------------------- | |||
|
375 | ||||
|
376 | 1. Run the full test suite. | |||
|
377 | 2. Start a controller and engines and try a few things by hand. | |||
|
378 | a. Using ipcluster. | |||
|
379 | b. Using ipcontroller/ipengine by hand. | |||
|
380 | 3. Run a few of the parallel examples. | |||
|
381 | 4. Try the kernel with and without security with and without PyOpenSSL | |||
|
382 | installed. | |||
|
383 | 5. Beat on the IPython terminal a bunch. | |||
|
384 | 6. Make sure that furl files are being put in proper locations. | |||
352 |
|
385 | |||
353 |
|
386 | |||
354 |
|
387 |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now