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

Los Angeles Meetup Thoughts: :test metadata overlaps with clojure.test #4

Closed
NoahTheDuke opened this issue Nov 14, 2024 · 2 comments
Closed

Comments

@NoahTheDuke
Copy link
Owner

From the slack channel:

However, I've noticed that when you do (lazytest.repl/run-tests *ns*) it seems to somehow run clojure.test tests as well, report that they fail, but then consider them passes (b/c they didn't throw an exception?). But I'm puzzled as to why it's even trying to run them? They don't have :type :lazytest/var (or any other :type metadata that lazytest might care about)?

@seancorfield
Copy link

This makes it very difficult to mix clojure.test and LazyTest since clojure.test tests are "seen" by LazyTest and executed -- but always pass (because they do not throw exceptions). Running both sets of tests and merging the result summaries is not possible until LazyTest stops trying to run clojure.test tests -- this is a blocker for me to even try LazyTest at work.

@NoahTheDuke
Copy link
Owner Author

NoahTheDuke commented Nov 14, 2024

Given the lack of current users, I feel safe in switching this mechanism from :test to :lazytest/test. See this commit.

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

2 participants