[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: major step forward for 1.4



On Thu, May 31, 2012 at 7:17 AM, Michael Richardson <..hidden..> wrote:
>
>>>>>> "Chris" == Chris Travers <..hidden..> writes:
>    Chris> I have just committed unit tests on the new COGS stored procedures.
>    Chris> There are 93 tests, covering 16 invoices, with 4 overall test runs.
>    Chris> These test AR before AP, AP before AR, mixed workloads and reversals.
>
>    Chris> I think this is a major step forward in moving away from code that's
>    Chris> difficult to test towards code that is robust and testable.
>
> Can you tell us how we invoke these unit tests?
>
These ones are just for 1.4, but there are many in 1.3 as well.

The simple way to run unit tests for a specific topic is to cd to
sql/modules/test and from that directory run the scripts you want.

If you want to run a full test run, see README.tests for how to run
these are part of a make test run.

Best Wishes,
Chris Travers