Changeset 24:e235afb1bc67 in pyenvjasmine for README.rst


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
  • README.rst

    r21 r24  
    1212------------
    1313
    14 You can install pyenvjasmine using pip_ or easy_install_::
     14You can install pyenvjasmine using pip_::
    1515
    1616  pip install pyenvjasmine
    17 
    18 ::
    19 
    20   easy_install pyenvjasmine
    2117
    2218Or you can grab the latest sources and install it from there::
     
    6662
    6763    import unittest
    68     from pyenvjasmine.runner import TestRunner
     64    from pyenvjasmine.runner import Runner
    6965
    7066    class JavaScriptTests(unittest.TestCase):
    7167        def test_my_javascript(self):
    72             runner = TestRunner(
    73                       testdir='/path/to/my/testdir',
    74                       configfile='relative/path/to/configfile')
     68            runner = Runner(
     69                testdir='/path/to/my/testdir',
     70                configfile='relative/path/to/configfile')
    7571            runner.run(capture_output=False)
    7672
     
    8177
    8278    import unittest
    83     from pyenvjasmine.runner import TestRunner
     79    from pyenvjasmine.runner import Runner
    8480
    8581    class JavaScriptTests(unittest.TestCase):
    8682        def test_my_javascript_no_output(self):
    87             runner = TestRunner(
    88                       testdir='/path/to/my/testdir',
    89                       configfile='relative/path/to/configfile')
     83            runner = Runner(
     84                testdir='/path/to/my/testdir',
     85                configfile='relative/path/to/configfile')
    9086            res = runner.run(capture_output=True)
    9187            lines = res.splitlines()
Note: See TracChangeset for help on using the changeset viewer.