My Tester 2.1.0
New version of My Tester is out. It brings a couple of new features but also more deprecations and possible BC breaks. The biggest deprecation is whole class Environment. Most of its functionality is covered by Tester and TAssertions now (though it is often marked as internal) and the class will be removed in next major version.
Next highlight of this release is new annotation @dataProvider. It is more powerful than previous data which is now deprecated. Check out README.md for details.
We also now use test suite instead of test suit whenever possible. Some methods were renamed without regard to backwards compatibility but the testSuit annotation will continue to work until next major version.
Complete changelog for this version follows:
- allowed customization of test suite creation in automated tests runner
- made Job::$name, Job::$params and Job::$shouldFail readable
- deprecated Environment
- possible BC break: only public methods in TestCase whose name starts with test are now considered tests
- added @dataProvider annotation, it should be used instead of data
- possible BC break: renamed method TestCase::getSuitName() to getSuiteName() and Tester::$suits to $suites
- deprecated annotation testSuit in favor of new testSuite