openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea Pescetti <pesce...@apache.org>
Subject Re: Example of spreadsheet formula testing
Date Sun, 25 Aug 2013 14:12:06 GMT
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.

Regards,
   Andrea.

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


Mime
View raw message