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

Run exercises tests in a single sbt session #842

Open
grzegorz-bielski opened this issue Sep 6, 2024 · 0 comments
Open

Run exercises tests in a single sbt session #842

grzegorz-bielski opened this issue Sep 6, 2024 · 0 comments

Comments

@grzegorz-bielski
Copy link
Contributor

grzegorz-bielski commented Sep 6, 2024

Currently, the tests (bin/test) are really slow as they start a new sbt shell for each exercise. In the CI this takes around 20 minutes (!).

Ideally this should be refactored so the sbt is initialized only once and each exercise is its own submodule.

In addition current testing approach has following problems:

  • It's not portable, the bin/test doesn't work on Mac.
  • Uses sed for stripping out pending from all exercises. Perhaps we can somehow do it from the Scala side instead and in general rethink our approach here (see forum thread)

I believe it to be a blocker for further development of the track, since it makes the dev feedback loop very slow.

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