Changeset 24:e235afb1bc67 in pyenvjasmine for pyenvjasmine


Ignore:
Timestamp:
Jul 13, 2017, 6:07:22 PM (7 years ago)
Author:
Borja Lopez <borja@…>
Branch:
default
Phase:
public
Message:

Updated docs and some test files to reflect the change TestRunner/Runner.

Bumped version to 0.1.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyenvjasmine/tests/test_runner.py

    r10 r24  
    22import os
    33
    4 from pyenvjasmine.runner import TestRunner
     4from pyenvjasmine.runner import Runner
    55
    66
     
    1616        Test the runner, using default values (which wil run the demo specs)
    1717        """
    18         jstests = TestRunner()
     18        jstests = Runner()
    1919        output = jstests.run()
    2020        # output is the resulting stdout from a subprocess call, which is a
     
    3131        conf_file = os.path.join(sample, 'configfile.js')
    3232        envjasmine_dir = os.path.join(os.path.dirname(here), 'envjasmine')
    33         jstests = TestRunner(
     33        jstests = Runner(
    3434            rootdir=envjasmine_dir,
    3535            testdir=sample,
     
    5656        browser_conf_file = os.path.join(sample, 'browser.configfile.js')
    5757        envjasmine_dir = os.path.join(os.path.dirname(here), 'envjasmine')
    58         jstests = TestRunner(
     58        jstests = Runner(
    5959            rootdir=envjasmine_dir,
    6060            testdir=sample,
     
    7575        browser_conf_file = os.path.join(sample, 'browser.configfile.js')
    7676        envjasmine_dir = os.path.join(os.path.dirname(here), 'envjasmine')
    77         jstests = TestRunner(
     77        jstests = Runner(
    7878            rootdir=envjasmine_dir,
    7979            testdir=sample,
     
    105105        Running a test without capturing output
    106106        """
    107         jstests = TestRunner()
     107        jstests = Runner()
    108108        output = jstests.run(capture_output=False)
    109109        self.assertEqual(output, None)
Note: See TracChangeset for help on using the changeset viewer.