Discussion:
[LyX/master] Fix lyx2lyx issue with complex beamer arguments.
Scott Kostyshak
2014-08-31 06:13:22 UTC
Permalink
commit 98ab605041917d912e20c898c02c969d41243f69
Date: Sat Aug 30 13:24:29 2014 +0200
Fix lyx2lyx issue with complex beamer arguments.
Fixes: #9254
I'm starting to see how tricky lyx2lyx can be. Do you think it would
be useful to add documents to test for regressions? For example, we
could add the example document posted on #9254 and automatically test
that the document opens without any error and compiles.

Scott
Kornel Benko
2014-08-31 06:34:41 UTC
Permalink
Post by Scott Kostyshak
commit 98ab605041917d912e20c898c02c969d41243f69
Date: Sat Aug 30 13:24:29 2014 +0200
Fix lyx2lyx issue with complex beamer arguments.
Fixes: #9254
I'm starting to see how tricky lyx2lyx can be. Do you think it would
be useful to add documents to test for regressions? For example, we
could add the example document posted on #9254 and automatically test
that the document opens without any error and compiles.
+1
Post by Scott Kostyshak
Scott
Kornel
Kornel Benko
2014-08-31 06:39:03 UTC
Permalink
Post by Scott Kostyshak
commit 98ab605041917d912e20c898c02c969d41243f69
Date: Sat Aug 30 13:24:29 2014 +0200
Fix lyx2lyx issue with complex beamer arguments.
Fixes: #9254
I'm starting to see how tricky lyx2lyx can be. Do you think it would
be useful to add documents to test for regressions? For example, we
could add the example document posted on #9254 and automatically test
that the document opens without any error and compiles.
+1
Post by Scott Kostyshak
Scott
How about add extra directory (apart from examples and templates) with files
for export tests only?

Kornel
Scott Kostyshak
2014-08-31 06:52:06 UTC
Permalink
Post by Kornel Benko
Post by Scott Kostyshak
commit 98ab605041917d912e20c898c02c969d41243f69
Date: Sat Aug 30 13:24:29 2014 +0200
Fix lyx2lyx issue with complex beamer arguments.
Fixes: #9254
I'm starting to see how tricky lyx2lyx can be. Do you think it would
be useful to add documents to test for regressions? For example, we
could add the example document posted on #9254 and automatically test
that the document opens without any error and compiles.
+1
Post by Scott Kostyshak
Scott
How about add extra directory (apart from examples and templates) with files
for export tests only?
I like this idea. Separating them makes it easy to exclude during
release. And this type of tests seems to be useful and the cost of
adding them is small. Unit tests for lyx2lyx would be great but I
don't think there is enough developer time for them.

Scott
Kornel Benko
2014-08-31 07:20:43 UTC
Permalink
Post by Scott Kostyshak
Post by Kornel Benko
Post by Scott Kostyshak
commit 98ab605041917d912e20c898c02c969d41243f69
Date: Sat Aug 30 13:24:29 2014 +0200
Fix lyx2lyx issue with complex beamer arguments.
Fixes: #9254
I'm starting to see how tricky lyx2lyx can be. Do you think it would
be useful to add documents to test for regressions? For example, we
could add the example document posted on #9254 and automatically test
that the document opens without any error and compiles.
+1
Post by Scott Kostyshak
Scott
How about add extra directory (apart from examples and templates) with files
for export tests only?
I like this idea. Separating them makes it easy to exclude during
release. And this type of tests seems to be useful and the cost of
adding them is small. Unit tests for lyx2lyx would be great but I
don't think there is enough developer time for them.
We already have many test directories
./lib/fonts/test
./development/autotests
./development/keystest
./src/support/tests
./src/frontends/tests
./src/tests
./src/tex2lyx/test

so './lib/lyx2lyx/test' would fit.
But if this dir starts to be nearly empty, we may
better start with './development/exporttests'. Filled also with old (but valid) examples.
Post by Scott Kostyshak
Scott
Kornel
Jürgen Spitzmüller
2014-08-31 07:24:49 UTC
Permalink
Post by Scott Kostyshak
I'm starting to see how tricky lyx2lyx can be. Do you think it would
be useful to add documents to test for regressions? For example, we
could add the example document posted on #9254 and automatically test
that the document opens without any error and compiles.
Very good idea indeed.

Jürgen
Post by Scott Kostyshak
Scott
Loading...