module-db
module-db copied to clipboard
DB module for Codeception
This is highly useful in multi-application setups where dump files may not be inside the project directory but in a shared fixture directory. The current alternative is to symlink each...
I have a problem when running unit tests using module-db My tests pass when the are run individually, when I run them as a suite only the first test passes,...
Hi, seems like the documentation for the 'cleanup' configuration option ist not correct: cleanup: false - whether the dump should be reloaded before each test It think more correct would...
This is quite a speculative PR so please consider it one for discussion rather than immediate merge or refusal either way. I thought it better to open as a PR...
#### What are you trying to achieve? In src/Codeception/Lib/Driver/PostgreSql.php, the schema is hard-coded to "public" in method cleanup. In my setup, where the schema used for testing is not public,...
#### What are you trying to achieve? A helper runs code to modify the database in `_beforeSuite` in order to add control rows before any tests are run. #### What...
#### What are you trying to achieve? I wanted to check that `$I->dontSeeInDatabase` from a list of values. Instead of writing ```php $I->dontSeeInDatabase('someTable', ['foo' => 'cond1']); $I->dontSeeInDatabase('someTable', ['foo' => 'cond2']);...
#### What are you trying to achieve? Specific timezone when use Db Model connect to mysql , then the test logic won't rely on database config. #### What do you...
Hello #### What are you trying to achieve? I insert data to db (PostgreSQL) whith DB module `$I->haveInDatabase("pictograms_tags_uk-UA",{"id":289,"tag_url_title":"Hello tag_url_title","description":"Hello description"}) ` #### What do you get instead? have error `[PDOException]...