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

Introduce unit tests for branch protection #16

Open
Necr0x0Der opened this issue Nov 14, 2023 · 2 comments
Open

Introduce unit tests for branch protection #16

Necr0x0Der opened this issue Nov 14, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@Necr0x0Der
Copy link
Contributor

Unit tests should systematically cover various aspects of MeTTa-Scheme interactions and run automatically for branch protection on github. Not working cases could possibly exist as skipped unit tests. More complex examples can remain as integration tests.

@patham9
Copy link
Collaborator

patham9 commented Nov 14, 2023

I agree. It can be initially based on example1...6.metta in ./extend: Running automatically same file, once compiling the "to-compile-code" with compiler, one time also running the "to-compile-code" with the MeTTa interpreter, then checking whether the output matches. (same principle as in ./tests but this time MeTTa interpreter is involved in both cases, in one case calling the compiled code, in other case interpreting it). I can add a script which does this soon.

@patham9
Copy link
Collaborator

patham9 commented Nov 14, 2023

Addressed: #21

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

2 participants