Skip to content

Releases: malteriesch/test-db-acle

Added timestamp column to be treates as date and datetime

10 Feb 14:53

Choose a tag to compare

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

04 Feb 18:53

Choose a tag to compare

0.8.1

PsvConverter handles true and false values better

append mode implemented

15 Dec 10:20

Choose a tag to compare

Bug Fix Release

05 Nov 17:02

Choose a tag to compare

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

05 Nov 14:23

Choose a tag to compare

added methods PsvTree::toArray and getTableNames

0.7.3: New Assert Function: assertArrayContainsPsv

12 Sep 14:03

Choose a tag to compare

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

14 Aug 10:29

Choose a tag to compare

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

05 Aug 10:57

Choose a tag to compare

    $this->setupTables("
            [address]
            address_id #this is a comment |company    #another comment
            1                             |10


    ");