mrtnzlml-archive / testbench

:green_apple: Simple integration testing tool for Nette applications
http://zlml.cz/jednoduche-testovani-pro-uplne-kazdeho
41 stars 13 forks source link

Typo in TestbenchExtension? + Databse behavior proposal #37

Closed xklid101 closed 8 years ago

xklid101 commented 8 years ago

Typo: Looks like you have a typo here https://github.com/mrtnzlml/testbench/blob/master/src/TestbenchExtension.php#L80 There should be $sectionConfig instead of $extensionConfig, I guess...

Database: I am using persistent databases for testing, but Testbench still creates and drops new database for every test. Some config option for such behavior would be nice...

mrtnzlml commented 8 years ago

Related PR: https://github.com/mrtnzlml/testbench/pull/38

mrtnzlml commented 8 years ago

Thanks for reporting - fixed by this commit. In dev-master there is also support for shared databases.