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

Refine unit tests #512

Merged
merged 1 commit into from
Dec 2, 2022
Merged

Conversation

lread
Copy link
Collaborator

@lread lread commented Dec 2, 2022

The new test:bb and test:jvm bb tasks replace the test task. I think this makes bb and jvm platform tests easier to discover.

Extracted out test matrix generation to its own test-matrix bb task (was formerly invoked via a test task cmd line arg).

Now employing babashka cli for test tasks.
Using for both test:jvm and test:bb.

Can now choose to run individual tests vars and namespaces. Our test tasks now accept --nses --patterns and --vars options which we pass thru to the cognitect test runner.

Updates to babashka allow us to now no longer rely on babashka:

For consitency:

  • dev task renamed to dev:jvm
  • dev-bb task renamed dev:bb. Adjusted this one to match test:bb re classpath construction. When I sent in my own --classpath I think Clojure's spec.alpha was getting in the way.

Now explicitly relying on slingshot. Closes #511

Docker run task corrected to accept args.

User and dev guides updated accordingly.

Closes #506

Please complete and include the following checklist:

  • I have read CONTRIBUTING and the Etaoin Developer Guide.

  • This PR corresponds to an issue that the Etaoin maintainers have agreed to address.

  • This PR contains test(s) to protect against future regressions

  • I have updated CHANGELOG.adoc with a description of the addressed issue.

The new test:bb and test:jvm bb tasks replace the test task.
I think this makes bb and jvm platform tests easier to discover.

Extracted out test matrix generation to its own test-matrix bb task
(was formerly invoked via a test task cmd line arg).

Now employing babashka cli for test tasks.
Using for both test:jvm and test:bb.

Can now choose to run individual tests vars and namespaces.
Our test tasks now accept --nses --patterns and --vars options which
we pass thru to the cognitect test runner.

Updates to babashka allow us to now no longer rely on babashka:
- namespace fork (was need for test runner)
- babashka spec.alpha fork (ide feature relies on spec.alpha). Closes clj-commons#507

For consitency:
- dev task renamed to dev:jvm
- dev-bb task renamed dev:bb. Adjusted this one to match test:bb re
classpath construction. When I sent in my own --classpath I think
Clojure's spec.alpha was getting in the way.

Now explicitly relying on slingshot. Closes clj-commons#511

Docker run task corrected to accept args.

User and dev guides updated accordingly.

Closes clj-commons#506
@lread lread merged commit c59f502 into clj-commons:master Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant