Changeset 24:e235afb1bc67 in pyenvjasmine for README.rst
- Timestamp:
- Jul 13, 2017, 6:07:22 PM (7 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
README.rst
r21 r24 12 12 ------------ 13 13 14 You can install pyenvjasmine using pip_ or easy_install_::14 You can install pyenvjasmine using pip_:: 15 15 16 16 pip install pyenvjasmine 17 18 ::19 20 easy_install pyenvjasmine21 17 22 18 Or you can grab the latest sources and install it from there:: … … 66 62 67 63 import unittest 68 from pyenvjasmine.runner import TestRunner64 from pyenvjasmine.runner import Runner 69 65 70 66 class JavaScriptTests(unittest.TestCase): 71 67 def test_my_javascript(self): 72 runner = TestRunner(73 74 68 runner = Runner( 69 testdir='/path/to/my/testdir', 70 configfile='relative/path/to/configfile') 75 71 runner.run(capture_output=False) 76 72 … … 81 77 82 78 import unittest 83 from pyenvjasmine.runner import TestRunner79 from pyenvjasmine.runner import Runner 84 80 85 81 class JavaScriptTests(unittest.TestCase): 86 82 def test_my_javascript_no_output(self): 87 runner = TestRunner(88 89 83 runner = Runner( 84 testdir='/path/to/my/testdir', 85 configfile='relative/path/to/configfile') 90 86 res = runner.run(capture_output=True) 91 87 lines = res.splitlines()
Note:
See TracChangeset
for help on using the changeset viewer.