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

optionally show forms that correspond to the numbers in test mode #29

Open
jonorthwash opened this issue Feb 27, 2023 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@jonorthwash
Copy link
Member

Currently apertium-regtest test has output like this:

$ apertium-regtest -c .-morph test
Corpus 1 of 3: -s plurals-morph
  13/13 (100.0%) tests pass (3/13 (23.08%) match gold)

Corpus 2 of 3: -es plurals-morph
  20/20 (100.0%) tests pass (3/20 (15.0%) match gold)

Corpus 3 of 3: irregular plurals-morph
  22/22 (100.0%) tests pass (2/22 (9.09%) match gold)

All tests pass.

It would be nice if there were a way to have output like morph-test/aq-morphtest to show forms that do and/or don't match gold (or, alternatively, tests that are and/or are not expected).

@jonorthwash jonorthwash added the enhancement New feature or request label Feb 27, 2023
@jonorthwash
Copy link
Member Author

forms that do and/or don't match gold (or, alternatively, tests that are and/or are not expected).

"alternatively", meaning the user should be able to choose, like in the web interface—not meaning that I'm requesting one or the other feature.

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

No branches or pull requests

1 participant