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

[ new ] golden testing framework #1518

Merged
merged 84 commits into from Jun 21, 2021
Merged

[ new ] golden testing framework #1518

merged 84 commits into from Jun 21, 2021

Conversation

gallais
Copy link
Member

@gallais gallais commented Jun 8, 2021

This is a port of the Idris2 golden testing library: https://github.com/idris-lang/Idris2/tree/master/libs/test

We can use it to compile and run some programs using the standard library's less
certified corners to check we get sensible results. This should help us:

Coverage: the tests are currently compiling 434 out of 943 modules

TODO

  • CHANGELOG
  • Turn off the interactive flag when running on CI
  • Reorder phases to typecheck the whole lib first
  • Test for the pretty-printer!
  • Add no-colour option to golden testing (& check TERM env variable is not DUMB)

@gallais gallais marked this pull request as ready for review June 20, 2021 15:38
@gallais
Copy link
Member Author

gallais commented Jun 20, 2021

🚀

@MatthewDaggitt MatthewDaggitt merged commit 231d210 into agda:master Jun 21, 2021
@gallais gallais deleted the testing branch June 21, 2021 09:05
@MatthewDaggitt MatthewDaggitt modified the milestones: v1.8, v2.0 Jul 6, 2021
@MatthewDaggitt MatthewDaggitt linked an issue Jul 11, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a golden test framework
5 participants