<div dir="ltr">Hey Pedro,<br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 16, 2016 at 5:05 PM, Pedro <span dir="ltr"><<a href="mailto:pedlino@gmail.com" target="_blank">pedlino@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Markus<br>
<br>
Personally I'm very interested in using Calc as a replacement for Excel. The<br>
spreadsheets I work with commonly have more than 65k lines so using the old<br>
Excel 2003 (included in my work desktop) is useless but Calc is still not<br>
stable/efficient enough.<br>
<br>
One of the main problems with Excel and Calc is compatibility. ODS is out of<br>
question (because MS manages to ruin all ODS files) and XLSX has lots of<br>
issues in round-trip work (particularly in Pivot Tables)<br></blockquote><div><br></div><div>This whole stuff here is purely about the formula compiler and formula interpreter. For other features exist other types of tests, filters-test, export-test, ...<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Regarding your CSV only approach, Calc does have the option to Save formulae<br>
instead of values (and curiously opening these files in Excel 2010 works!)<br>
but there are probably limitations (I just found out that array formulas are<br>
not interpreted correctly on both programs)<br></blockquote><div><br></div><div>The CSV approach is already implemented and is what we are currently using. It is basically just a comparison of the formula results with a csv file. So the question right now is if the csv part should be replaced by a pure spreadsheet error checking. The CSV approach always required a developer as there are many special cases that can not completely be handled without running the test.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Since it is not in Microsoft's interest to be 100% compatible with ODS, I<br>
think that your spreadsheet approach should include both ODS and XLSX.<br></blockquote><div><br></div><div>These tests are for the formula compiler and formula interpreter. Everything that can be evaluated can be expressed in an ODF file (maybe not visible to the user).<br><br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
So, if manual testing your files leads to greater compatibility you can<br>
count me in.<br></blockquote><div><br><br></div><div>The idea is to generate test files that can be used for manual testing but more importantly can also be used in the automated testing. Currently all our formula compiler and formula interpreter tests can only be used in the automated testing. One advantage of the new approach would be that it makes it easier for non-developers to write such test documents and make therefore sure that all functions are properly tested.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Regards,<br>
Pedro<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://nabble.documentfoundation.org/Libreoffice-qa-writing-unit-test-for-calc-functions-tp4181287p4181297.html" rel="noreferrer" target="_blank">http://nabble.documentfoundation.org/Libreoffice-qa-writing-unit-test-for-calc-functions-tp4181287p4181297.html</a><br>
Sent from the QA mailing list archive at Nabble.com.<br>
_______________________________________________<br>
List Name: Libreoffice-qa mailing list<br>
Mail address: <a href="mailto:Libreoffice-qa@lists.freedesktop.org">Libreoffice-qa@lists.freedesktop.org</a><br>
Change settings: <a href="https://lists.freedesktop.org/mailman/listinfo/libreoffice-qa" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/libreoffice-qa</a><br>
Problems? <a href="http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/" rel="noreferrer" target="_blank">http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/</a><br>
Posting guidelines + more: <a href="http://wiki.documentfoundation.org/Netiquette" rel="noreferrer" target="_blank">http://wiki.documentfoundation.org/Netiquette</a><br>
List archive: <a href="http://lists.freedesktop.org/archives/libreoffice-qa/" rel="noreferrer" target="_blank">http://lists.freedesktop.org/archives/libreoffice-qa/</a></blockquote></div><br></div></div>