Hi Andrea,

Andrea Pescetti schrieb:
On 19/08/2013 Herbert Duerr wrote:
An example of a test case where a formula ("addition") is checked is in
[1]. This file is clean and easy enough that it could be used as a
template for more formula checks.
[1]
http://svn.apache.org/repos/asf/openoffice/trunk/test/testuno/source/fvt/uno/sc/formula/AddtionOperatorInFormula.java


I find it quite verbose (well, it's Java) and too hard for an "ordinary"
QA volunteer, who could probably write a simple ODT file to check a
bugfix in formula handling but couldn't write a Java testcase.

Of course, this approach has also huge benefits, like automation.

Perhaps it is possible to convert a few key test cases, like Regina's
ODT file in the blocker bug
https://issues.apache.org/ooo/show_bug.cgi?id=122997 to this framework?
In this case we have the advantage that we know the expected result, so
ExpectedData() needn't be reimplemented in Java, but it can just
function as a simple operand->result mapping.

I have reworked the testfile in a way, that it shows in a single cell, whether there is a regression in calculating. Perhaps someone from the QA team can make a test case of it?

Kind regards
Regina

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to