Bug 12603: creating TestBuilder to simplify tests
authorYohann Dufour <dufour.yohann@gmail.com>
Fri, 18 Jul 2014 14:23:07 +0000 (16:23 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 20 Apr 2015 13:07:31 +0000 (10:07 -0300)
commitec50dc7fd82fc8b727e27403b0a4a9b2d4aa983c
treec9d1b881057a7ff83f3ccc86aef377e371e4d3c6
parent9dbedfd854a255fc5f2e9479db96131ce87f2ee4
Bug 12603: creating TestBuilder to simplify tests

This patch contains a new module t::lib::TestBuilder which allows to write tests easier and it contains the unit tests of this module.
For more information, see the documentation of the module.

This module uses the DBIx::Class schema and works with a clean DBIx::Class schema. In order to use it, you have to remove the current circular dependence (existing in the DBIx::Class) by applying the last patch of the bug 11518.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/db_dependent/TestBuilder.t [new file with mode: 0644]
t/lib/TestBuilder.pm [new file with mode: 0644]