[40] | 1 | pyenvjasmine - changes and releases
|
---|
| 2 | ===================================
|
---|
| 3 |
|
---|
| 4 | .. contents::
|
---|
| 5 |
|
---|
| 6 |
|
---|
| 7 | Release summary
|
---|
| 8 | ---------------
|
---|
| 9 |
|
---|
| 10 | 0.3.0, April 02, 2018
|
---|
| 11 | Added selectable test engines (phantomjs and rhino supported by default)
|
---|
| 12 | with different jasmine versions
|
---|
| 13 |
|
---|
| 14 |
|
---|
| 15 |
|
---|
| 16 | Release 0.3.0
|
---|
| 17 | -------------
|
---|
| 18 |
|
---|
| 19 | Released on April 02, 2018.
|
---|
| 20 |
|
---|
| 21 | Since this release, you can choose the engine that will run the tests
|
---|
| 22 | (previously only rhino was available). The old rhino headless browser is still
|
---|
| 23 | available (updated to the latest version) and runs tests on the latest version
|
---|
| 24 | of the 1.x branch of jasmine.
|
---|
| 25 |
|
---|
| 26 | Also available in this version is phantomjs (you need to install phantomjs
|
---|
| 27 | >= 2.1 to use this) which runs tests on the latest version of the 3.x branch of
|
---|
| 28 | jasmine.
|
---|
| 29 |
|
---|
| 30 | **Updating from previous versions:** Up to this release *rhino* was the default
|
---|
| 31 | browser/engine, now the default is *phantomjs* (which uses the most recent and
|
---|
| 32 | supported *jasmine* version). If you still want to use *rhino* (and *jasmine
|
---|
| 33 | 1.x*), ensure you add the *testing_environment* parameter when creating a new
|
---|
| 34 | *Runner* instance.
|
---|
| 35 |
|
---|
| 36 | For example, for this code::
|
---|
| 37 |
|
---|
| 38 | runner = Runner(testdir='/path/to/my/testdir',
|
---|
| 39 | configfile='relative/path/to/configfile')
|
---|
| 40 |
|
---|
| 41 | To keep running tests on *rhino*::
|
---|
| 42 |
|
---|
| 43 | runner = Runner(testdir='/path/to/my/testdir',
|
---|
| 44 | configfile='relative/path/to/configfile',
|
---|
| 45 | testing_environment='rhino')
|
---|