#8754: sagenb -- add "how to test" directions to the sagenb README.txt
---------------------------+------------------------------------------------
Reporter: was | Owner: jason, was
Type: enhancement | Status: new
Priority: minor | Milestone: sage-5.0
Component: notebook | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
{{{
1. Doctest:
sage -t -sagenb
2. Run the Selenium test suite:
sage -python sagenb/testing/run_tests.py
To use Selenium, you must visit http://seleniumhq.org/download/ and:
* Download and extract Selenium RC ("the Selenium Remote Control")
* Run it as follows on Linux:
$ cd /path/to/selenium-remote-control-1.0.3/selenium-
server-1.0.3
$ java -jar selenium-server.jar
$ cd /path/to/sagenb-0.8/src/sagenb
$ sage -python sagenb/testing/run_tests.py
* Run it as follows on OS X:
$ cd /path/to/selenium-remote-control-1.0.3/selenium-
server-1.0.3
$ cd /path/to/sagenb-0.8/src/sagenb
$ sage
sage: import sagenb.testing.run_tests as rt
sage: rt.setup_tests('localhost', False, '*firefox')
sage: rt.run_any()
}}}
That the instructions for OS X are different is probably a bug.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8754>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.