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 dedicated lexicon for testing #30

Open
Kaljurand opened this issue Aug 9, 2019 · 0 comments
Open

Create a dedicated lexicon for testing #30

Kaljurand opened this issue Aug 9, 2019 · 0 comments

Comments

@Kaljurand
Copy link
Member

Currently many test cases that are run by the scripts in the tests-directory depend on a lexicon that is larger than APE's built-in/demo lexicon. The solution is to download https://github.com/Attempto/Clex before the tests are run, but this has the following shortcomings:

  • dependency on an external resource
  • slowness
  • confusing code

It would be better to include a dedicated lexicon for the test run in the tests-directory. The simplest is just to include Clex, but better would be to drop all entries that are not used by any tests, and add some entries that would test some aspects of the lexicon format.

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

No branches or pull requests

1 participant