Releases: malteriesch/test-db-acle
Releases · malteriesch/test-db-acle
Added timestamp column to be treates as date and datetime
When comparing table data (assertTableStateContains) date and datetime have the hour/minutes/seconds parts trimmed for comparison reasons. The same is true with timestamp columns now.
PsvConverter handles true and false explicitly
0.8.1 PsvConverter handles true and false values better
append mode implemented
0.8.0 #9
Bug Fix Release
In PSV if there was a column with only 0s it would not be included in parsed results
0.7.5: added methods PsvTree::toArray and getTableNames
added methods PsvTree::toArray and getTableNames
0.7.3: New Assert Function: assertArrayContainsPsv
It's possible to compare arrays using the PSV shorthand now:
$exampleArray = array(
array('address_id' => 5, 'company' => 10, 'foo' =>1000),
array('address_id' => 7, 'company' => 17, 'foo' =>1007),
);
$this->assertArrayContainsPsv("
address_id |company
5 |10
7 |17
", $exampleArray, array(), "tests pass if the information in the array is the same for the relevant keys");0.7.2
AssertTableStateContains did not handle empty tables:
$this->setupTables("
[address]
address_id |company
[user]
user_id |name
1 |foo
");
$this->assertTableStateContains("
[address]
address_id |company
[user]
user_id |name
");bug fix: inline comments in header did not work
$this->setupTables("
[address]
address_id #this is a comment |company #another comment
1 |10
");