Releases: lucatume/wp-browser
Releases · lucatume/wp-browser
4.1.3
3.5.2
4.1.2
3.5.1
4.1.1
4.1.0
4.1.0
Changed
- The
WPTestCase
class will not backup globals and static attributes by default. Version3
of wp-browser did not backup globals and static attributes by default, this change in version4
is aligned with that behaviour to ease migration from version3
to version4
.
Added
- Restored support for the
@runInSeparateProcess
annotation for test methods. Along with it, improved support for the@dataProvider
annotation for test methods used in conjunction with the@runInSeparateProcess
annotation to run data provider methods at most once. - Implemented support for the
runTestsInSeparateProcesses
annotation for test classes; supporting the@dataProvider
annotation ro run data provider methods at most once. - Added support for the
#[RunInSeparateProcess]
attribute for test methods and the#[RunTestsInSeparateProcesses]
attribute for test classes. - Migration guide from version 3 to version 3.5 or 4
3.5.0
Breaking change
- First release of the
v3.5
branch built from the transpile of thev4
branch. - Depending on your project set up, some of your test code could require migration to be compatible with the new architecture. See the migration guide for more information.