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

Improve Testing Interfaces #115

Open
3 tasks
jaidetree opened this issue Sep 11, 2021 · 1 comment
Open
3 tasks

Improve Testing Interfaces #115

jaidetree opened this issue Sep 11, 2021 · 1 comment

Comments

@jaidetree
Copy link
Collaborator

Following up to #106:

  • Replace describe with a macro similar to Clojure's testing macro
  • Replace it with a macro similar to Clojure's deftest macro
  • Replace is assertions with Clojure's is macro

Switching to macros here will cleanup the test code and in the case of Clojure's is, macro it has the ability to print both the expected\actual mismatch plus the test code itself in results.

@jaidetree
Copy link
Collaborator Author

One expected caveat is that every testfile may have to import the testing macros vs. global functions, but that also means alternative testing libraries are possible.

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