Re: about the tex2lyx tests and proposal for a better method

2015-05-29 Thread Uwe Stöhr
Am 29.05.2015 um 23:18 schrieb Georg Baum: I did not suggest that it was impolite. The proposal to stop comparing current test results against known good references, and testing the success of LaTeX compilation instead is not in line with the accepted state of the art in software testing: I di

Re: about the tex2lyx tests and proposal for a better method

2015-05-29 Thread Georg Baum
Guenter Milde wrote: > However, whenever a reference changes (to adapt to a new file version or > other changes) or a new test file + reference is added, one must also > check if the new reference is really a *good* one. Yes, this is the key point. > In the case of LyX, this includes checking wh

Re: about the tex2lyx tests and proposal for a better method

2015-05-29 Thread Georg Baum
Uwe Stöhr wrote: > Am 27.05.2015 um 16:53 schrieb Georg Baum: > >> It is_not_ a requirement that test cases always contain sensible data. >> In many cases, it is more effective to design test cases with contents >> which would never occur in practice, for example because it is shorter. > > Hi G

Re: about the tex2lyx tests and proposal for a better method

2015-05-29 Thread Guenter Milde
On 2015-05-28, Uwe Stöhr wrote: > Am 27.05.2015 um 16:53 schrieb Georg Baum: >>> - when I import our test file test-modules.tex I get a LyX file that is >>> >uncompilable: >>> >LaTeX Error: Environment lem undefined. >>> >LaTeX Error: \begin{document} ended by \end{lem}. >>> >But the test result t

Re: about the tex2lyx tests and proposal for a better method

2015-05-28 Thread Uwe Stöhr
Am 27.05.2015 um 16:53 schrieb Georg Baum: - when I import our test file test-modules.tex I get a LyX file that is >uncompilable: >LaTeX Error: Environment lem undefined. >LaTeX Error: \begin{document} ended by \end{lem}. >But the test result tells me that everything is OK with this test file.

Re: about the tex2lyx tests and proposal for a better method

2015-05-27 Thread Georg Baum
Uwe Stöhr wrote: > Hi Georg and Kornel, > > (I start a new thread to collect all infos about this topic.) > > Today I had a closer look and found out that our current test routines > do not test the reality: tex2lyx's aim is to import TeX files to LyX > resulting in compilable LyX files. No. Th

Re: about the tex2lyx tests and proposal for a better method

2015-05-24 Thread Jürgen Spitzmüller
2015-05-24 15:37 GMT+02:00 Uwe Stöhr: > - after Jürgen's commit > http://www.lyx.org/trac/changeset/dbe0096c126/lyxgit the test gave me an > error. But in reality I could import all TeX files without problems. > So the test gave me a false positive > No. My tex2lyx implementation was incomplete (

about the tex2lyx tests and proposal for a better method

2015-05-24 Thread Uwe Stöhr
Hi Georg and Kornel, (I start a new thread to collect all infos about this topic.) Today I had a closer look and found out that our current test routines do not test the reality: tex2lyx's aim is to import TeX files to LyX resulting in compilable LyX files. But this is currently not tested. F