babashka / bbin

Install any Babashka script or project with one command
MIT License
139 stars 9 forks source link

Enable running (most of) bbin's test suite on a JVM #92

Open teodorlu opened 3 days ago

teodorlu commented 3 days ago

This PR enables a JVM-based workflow. The tests that pass without modification on a JVM can now be run on a JVM. The tests that fail on JVM only run on Babashka (for now).

In addition, test data has been updated to reflect the reality - per 2024-11-27, the latest version of org.babashka/http-server is 0.1.13.

Please answer the following questions and leave the below in as part of your PR.

teodorlu commented 3 days ago

In addition to the comments in the diff, I added Kaocha and Launchpad. I did that mostly out of habit, I like using the tools.

Thoughts? Do you prefer staying "leaner" with regards to tooling?

I added Launchpad to bb.edn. If that will cause Launchpad to be added to bbin user machines, it's behavior we maybe don't want.

teodorlu commented 3 days ago

From @borkdude on Slack:

can we get rid of those bin/ scripts and add those commands to bb tasks and swap koacha for the cognitect test runner, unless you're very attached to koacha? (edited)