Skip to content

Releases: konecnyjakub/mytester

My Tester 7.3.1

27 Dec 14:28
Compare
Choose a tag to compare

A new version of My Tester is out. It allows installation konecnyjakub/event-dispatcher 2.

This is probably the last version of 7.x series unless serious bugs are discovered (and fixed). These series will not receive any new features or improvements, development will be focused on version 8.0.

For complete list of changes since previous version, see CHANGELOG.md.

My Tester 7.3.0

27 Dec 11:26
Compare
Choose a tag to compare

A new version of My Tester is out. One of its big improvements is that errors/exceptions thrown in a test method are reported as failure instead of crashing the script.

There are also improvements around deprecations. It is now possible to ignore deprecations in a test method/test case. It is possible to check that code triggers not deprecation with assertion assertTriggersNoDeprecation.

There are new assertions for arrays (and some array like objects) assertArrayHasKey, assertArrayNotHasKey and assertSameSize.

There are now dedicated attributes for skipping tests based on a condition, they should be used instead of attribute Skip. In the next major version attribute Skip will only work without any conditions.

For complete list of changes since previous version, see CHANGELOG.md.

My Tester 7.2.1

25 Dec 18:09
Compare
Choose a tag to compare

A new version of My Tester is out. Passing invalid argument to assertion methods is now reported as an assertion failure instead of crashing the script.

For complete list of changes since previous version, see CHANGELOG.md.

My Tester 7.2.0

25 Dec 14:34
Compare
Choose a tag to compare

A new version of My Tester is out. Deprecations triggered in a test method are now reported as warnings. It is possible to check that a deprecation was triggered in a test case (optionally with a specific message).

Method ConsoleColors::color can now also set background color.

For complete list of changes since previous version, see CHANGELOG.md.

My Tester 7.1.0

21 Dec 14:17
Compare
Choose a tag to compare

A new version of My Tester is out. It brings a few improvements to data providers and some other small improvements.

Test methods can now get multiple parameters from data provider. If a test method with data provider fails, the faulty data set (or custom name if provided) is now shown along the test method name.

For complete list of changes since previous version, see CHANGELOG.md.

My Tester 7.0.0

16 Dec 21:21
Compare
Choose a tag to compare

A new version of My Tester is out. It does some code cleaning/internal improvements at the cost of BC breaks. It is possible to use a different data provider or skip checker in TestCase as there are interfaces for them now. Extensions for automated tests runner now define methods that are called when the corresponding event is triggered and can now react to events for starting and completing a test case. Results formatters are now responsible for outputting to file/console instead of just generating the output. It is now possible to use only arrays to set conditions for skipping a test when using the attribute (not passing any value is still allowed). Default skip checker can now skip tests based on OS family.

For complete list of changes since previous version, see CHANGELOG.md.

My Tester 6.1.0

21 Sep 10:59
Compare
Choose a tag to compare

A new version of My Tester is out. Some existing classes, interfaces and methods were added to public api. TCompiledContainer, ContainerFactory and TComponent were added for easier testing of Nette applications.

For complete list of changes since previous version, see CHANGELOG.md.

My Tester 6.0.1

24 Aug 11:53
Compare
Choose a tag to compare

A new version of My Tester is out. It contains a few fixes/improvements for Cobertura code coverage report.

For complete list of changes since previous version, see CHANGELOG.md.

My Tester 6.0.0

13 Aug 19:09
Compare
Choose a tag to compare

A new version of My Tester is out, it is only for PHP 8.3 and later. Now only first assertion failure in a test method is reported, following ones are not performed. Output of results formatter TextDox in console was improved.

Total elapsed time is no longer passed when reporting that all tests finished to results formatters. If they went to display it, they have to measure it themselves (it is done in AbstractResultsFormatter).

For complete list of changes since previous version, see CHANGELOG.md.

My Tester 5.1.0

07 Aug 20:40
Compare
Choose a tag to compare

A new version of My Tester is out. It adds the option to output results of tests in a different format. Several options are already available, more might be added in the future.

It is now possible to change filename for output for some code coverage formats.

There are new assertions assertNoException and assertMatchesFile.

For complete list of changes since previous version, see CHANGELOG.md.