#7786: Restructure templates to idiomatic Jinja
---------------------------+------------------------------------------------
Reporter: timdumol | Owner: was
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-feature
Component: notebook | Keywords:
Work_issues: | Author: Tim Dumol
Upstream: N/A | Reviewer:
Merged: |
---------------------------+------------------------------------------------
Comment(by mpatel):
V6 ''might'' help. I've tested just FF 3.5.6 on Linux, so far. Examples:
{{{
#!python
import sagenb.testing.run_tests as rt
# Selenium.
rt.setup_tests(environment='*firefox3 /usr/lib64/firefox-3.5.6/firefox')
rt.run_any()
# Selenium Grid.
envs = [
'*firefox',
# '*googlechrome',
'*iexplore',
'*opera',
# '*safari'
]
for e in envs:
rt.setup_tests('192.168.50.99', False, e)
name = 'report_' + e.split()[0][1:] + '.html'
rt.run_any(make_report=True, report_filename=name)
}}}
For other tickets:
* Parallel testing.
* Abstract away all `self.selenium` calls from `sagenb/tests/*`, i.e.,
put them all in a `notebook_test_case.SeleniumTestCase`. Then we may be
able to reuse `test_*` for pure `zope.testbrowser` tests --- "just" write
a corresponding `notebook_test_case.ZTTestCase`.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7786#comment:15>
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.