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

Add testsuite modules #271

Open
na4zagin3 opened this issue Mar 7, 2021 · 1 comment
Open

Add testsuite modules #271

na4zagin3 opened this issue Mar 7, 2021 · 1 comment

Comments

@na4zagin3
Copy link
Owner

na4zagin3 commented Mar 7, 2021

Here are some ideas to support testing frameworks like https://github.com/zeptometer/satysfi-test

  • Add a new module type TestSuite whose name suffix is *-testsuite.
    • Any modules should not depend on *-testcase modules. This prevents circular dependency of test cases of a fundamental library and a popular testing framework.

We also need a way to tell test result to Satyrographos.

  • Prepare autogen library %result with a function that tells a result to Satyrographos
    • tell-result (tag : string) (value : string) : unit
  • Add a new build command (assert-eq-result <job-name> <tag> <expected-value>)
    • This compares result stored

Internally, tell-result stores the value in crossref entry satyrographos-result-<crossref-name> in file <job-name>.satysfi-aux and assert-eq-result gets it and compare the value with <expected-value>.

@na4zagin3
Copy link
Owner Author

This will mitigate this situation:

  • backward-incompatible enumitem is released:
  • some libraries use enumitem to verify their packages; thus they should be removed from the snapshots.

na4zagin3/satyrographos-repo#412

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