This repository has been archived by the owner on Aug 20, 2018. It is now read-only.
Releases: mrtnzlml-archive/testbench
Releases · mrtnzlml-archive/testbench
v2.1
v2.0.4
v2.0.1
v2.0
Introducing new traits:
And new mocks:
ApplicationRequestMock
ConnectionMock
ControlMock
HttpRequestMock
PresenterMock
There is also new TestbnechExtension
, RUNLEVEL
environment variable for skipping slow tests and run-tests
script so you can run tests from website root by vendor/bin/run-tests ...
or RUNLEVEL=5 vendor/bin/run-tests
for running with env variable.
Testbench (TDoctrine trait respectively) behaves differently with MySQL and PostgreSQL. Theoretically (well practically) it's quicker with MySQL because it's possible to jump between test databases using USE ...
statement.