Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a "test" module to perform package tests #32

Open
uliska opened this issue Jul 13, 2017 · 0 comments
Open

Create a "test" module to perform package tests #32

uliska opened this issue Jul 13, 2017 · 0 comments

Comments

@uliska
Copy link
Contributor

uliska commented Jul 13, 2017

I think it would be good to create a testing framework not in Python but directly in LilyPond/Scheme.

This would be a module oll-core.test with a function \testPackages <package-list>

\include "oll-core/package.ily"
\loadModule oll-core.test
\testPackages scholarly.analysis,edition-engraver
% or
\testPackage all

If given a symbol-list all packages are tested (in that order), the special symbol 'all will look for all installed packages.

The command will browse a package for test cases (it has to be defined how these are specified. The previous testing infrastructure would load all .ly files in usage-example directories. See also #23 and #24 ) and invoke LilyPond to compile them. (Question: Should this use Scheme commands to compile or invoke LilyPond through the shell?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant