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.5.0
v2.4.2
Bump! ♐️
Diff: v2.4.1...v2.4.2
v2.4.1
Bump! 🈂️
Diff: v2.4...v2.4.1
v2.4
Diff: v2.4...v2.4.1
- 41ba977 Add support for shared databases
- e42fefb Use
Tester\Environment::THREAD
instead of PID - 7a546e1 TestbenchExtension: fix options configuration in
prepareNetteDatabase
- 1723771 TPresenter: add support for
checkAjaxSignal
test method - 93b7680 TestbenchExtension: use default config parameters
- a38c52d TPresenter: use
IPresenterFactory::createPresenter
to create a presenter instance - e2fd316 Add fake
$_SERVER['HTTP_HOST']
and$_SERVER['SERVER_NAME']
- 7c2624f Scaffold: generate boolean values for checkbox fields
- 7b6b3ff Scaffold: do not add submit buttons into generated test
v2.3.1
Bump! 🍶
Diff: v2.3...v2.3.1
v2.3
Bump! 🤒
Diff: v2.2.1...v2.3
New features and changes:
- TCompiledContainer::refreshContainer: possibility to refresh container with parameters
- TComponent: support for anonymous classes (PHP 7)
- TPresenter: testing forms fields if they are defined as required (experimantal)
- ControlMock: new fake links format:
<a href="link|data!#hash(0=10, a=20, b=30)">
- added Scaffold
- fake database is now used every time needed
- automatically use
-C
switch if possible - added support for Doctrine migrations (enable using
testbench.migrations: yes
in tests config) - fixed compatibility with Nette 2.4
- dropped support for outdated PHP 5.4 and 5.5
- minor fixes
Feel free to improve Testbench and send PR.
v2.2.1
Bump! 🏭
Diff: v2.2...v2.2.1
v2.2
Bump! 😂
Diff: v2.1.6...v2.2
TPresenter::checkRedirect() - improve error message:
This release also fixes wrong behavior while checking URL path after redirect. It was possible to use /
as path and URL /x/y/z
passed without error. This wasn't intended. Now it throws error, because it is error. You can fix it by changing path to the /x/y/z
or by using regular expressin /.*
for example.