Changeset 24:e235afb1bc67 in pyenvjasmine for pyenvjasmine
- Timestamp:
- Jul 13, 2017, 6:07:22 PM (7 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pyenvjasmine/tests/test_runner.py
r10 r24 2 2 import os 3 3 4 from pyenvjasmine.runner import TestRunner4 from pyenvjasmine.runner import Runner 5 5 6 6 … … 16 16 Test the runner, using default values (which wil run the demo specs) 17 17 """ 18 jstests = TestRunner()18 jstests = Runner() 19 19 output = jstests.run() 20 20 # output is the resulting stdout from a subprocess call, which is a … … 31 31 conf_file = os.path.join(sample, 'configfile.js') 32 32 envjasmine_dir = os.path.join(os.path.dirname(here), 'envjasmine') 33 jstests = TestRunner(33 jstests = Runner( 34 34 rootdir=envjasmine_dir, 35 35 testdir=sample, … … 56 56 browser_conf_file = os.path.join(sample, 'browser.configfile.js') 57 57 envjasmine_dir = os.path.join(os.path.dirname(here), 'envjasmine') 58 jstests = TestRunner(58 jstests = Runner( 59 59 rootdir=envjasmine_dir, 60 60 testdir=sample, … … 75 75 browser_conf_file = os.path.join(sample, 'browser.configfile.js') 76 76 envjasmine_dir = os.path.join(os.path.dirname(here), 'envjasmine') 77 jstests = TestRunner(77 jstests = Runner( 78 78 rootdir=envjasmine_dir, 79 79 testdir=sample, … … 105 105 Running a test without capturing output 106 106 """ 107 jstests = TestRunner()107 jstests = Runner() 108 108 output = jstests.run(capture_output=False) 109 109 self.assertEqual(output, None)
Note:
See TracChangeset
for help on using the changeset viewer.