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 support for unit tests via $[test] attribute #928

Draft
wants to merge 1 commit into
base: sail2
Choose a base branch
from

Conversation

Timmmm
Copy link
Contributor

@Timmmm Timmmm commented Jan 30, 2025

Draft for #919, just checking if this approach makes sense.

Still TODO:

  • Documentation
  • Verify the type is unit -> unit for functions where this is applied.
  • Tests
  • Other backends??
  • Output formatting isn't quite right; not sure why.

Still TODO:

* Documentation
* Verify the type is `unit -> unit` for functions where this is applied.
* Tests
* Other backends??
* Output formatting isn't quite right; not sure why.
Copy link

Test Results

   12 files  ±0     24 suites  ±0   0s ⏱️ ±0s
  759 tests ±0    759 ✅ ±0  0 💤 ±0  0 ❌ ±0 
2 503 runs  ±0  2 503 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 1b3c007. ± Comparison against base commit e7f1262.

@Alasdair
Copy link
Collaborator

Yes, that looks like the right way to go.

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

Successfully merging this pull request may close these issues.

2 participants