Re: writing unit test for calc functions

2016-04-19 Thread Raal
On 16.4.2016 12:20, Markus Mohrhard wrote: @QA team: Does this sound like something that would make it easier for you to add tests for spreadsheet functions? Hi Markus, both variants are similarly arduous, so it's developer decision. If these new test will lead to easier incorporating of ne

Re: writing unit test for calc functions

2016-04-16 Thread Markus Mohrhard
Hey Winfried, On Sat, Apr 16, 2016 at 5:29 PM, Winfried Donkers < winfried.libreoff...@gmail.com> wrote: > Hi Markus, > > @Winfried: You are writing most of the spreadsheet functions right now. >> Would that be something that would help you add tests for all new >> functions? You could add your

Re: writing unit test for calc functions

2016-04-16 Thread Wols Lists
On 16/04/16 16:29, Winfried Donkers wrote: > One (personal) remark: deciding which use cases, which values, etc. to > use for unit tests is a bit of a vague area for me. Arguments can be of > different types (e.g. string, double, single/double external/internal > reference, matrix, single value or

Re: writing unit test for calc functions

2016-04-16 Thread Winfried Donkers
Hi Markus, @Winfried: You are writing most of the spreadsheet functions right now. Would that be something that would help you add tests for all new functions? You could add your test cases directly in the spreadsheet and use it for manual checking as well as later for an automated test. I wou

writing unit test for calc functions

2016-04-16 Thread Markus Mohrhard
Hey guys, so once again I was bit by our missing systematic unit tests for all the formula functions. I'm wondering what we can do to make external people interested in adding tests for all functions. Right now I think that my csv based approach is too complicated (how to handle precision issues,