Currently, the client side of the IPython Notebook is not tested in any manner. Originally, Stefan submitted a PR that implemented some basic things using Selenium (#1493). Brian was not very fond of that approach, so we are opening this issue to continue the discussion.
I have been exploring other options, in particular ones that would allow us to:
The best thing I have found so far is PhantomJS and CasperJS:
CasperJS has a a nice test running that can pick up different test files and combine them into a full test suite. Here is the result of running my simple test file:
Has there been any activity on this since last year? We're looking at doing integration testing for our notebook, and I remembered overhearing some discussions about PhantomJS at the dev meeting. A quick review last week pointed to using Ghostdriver + Selenium + PhantomJS (+mocha or whatever JS superstructure) as a way to drive it all from Python, while using JS for the client side stuff.
Yes, PR #4285 lays the groundwork for testing with casperjs
Min - Thanks - this looks perfect.