Changes in Nette Tester 1.3.1

6 years ago by Miloslav Hůla     edit

The Nette Tester 1.3.1 has been released just yesterday. This new patch version fixes a few minor bugs.

The FileMock does not use uniqid() anymore and it numbers mocked files sequentially. It prevents possible collisions.

You can acquire multiple locks in one test by the Environment::lock() now. Before 1.3.1, every next lock may release the previous one.

If you use the --stop-on-fail option, the testing progress is stopped in the initial phase too. For example, if you forgot to call (new TestCase)->run() in a @testCase annotated file.

If you are familiar with the Tester, you know that a test will fail when does not invoke any assertion. This feature didn't work with HHVM < 3.4.0 because of the HHVM bug. Since the HHVM 3.4.0, this feature works.

Besides the fixes, the --info output has been concentrated a little bit.

And that's all. Enjoy the testing!

Further reading