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

Build Test Runner #654

Closed
Tracked by #658
ErikSchierboom opened this issue Jan 29, 2021 · 7 comments
Closed
Tracked by #658

Build Test Runner #654

ErikSchierboom opened this issue Jan 29, 2021 · 7 comments
Labels
x:action/create Work on something from scratch x:knowledge/advanced Comprehensive Exercism knowledge required x:module/test-runner Work on Test Runners x:size/massive Massive amount of work x:type/coding Write code that is not student-facing content (e.g. test-runners, generators, but not exercises)

Comments

@ErikSchierboom
Copy link
Member

This issue is part of the migration to v3. You can read full details about the various changes here.

In Exercism v3, one of the biggest changes is that we'll automatically check if a submitted solution passes all the tests.

We'll check this via a new, track-specific tool: the Test Runner. Each test runner is track-specific. When a new solution is submitted, we run the track's test runner, which outputs a JSON file that describes the test results.

The test runner must be able to run the tests suites of both Concept Exercises and Practice Exercises. Depending on the test runner implementation, this could mean having to update the Practice Exercises to the format expected by the test runner.

Goal

Build a test runner for your track according to the spec.

If you are building a test runner from scratch, we have a starting guide and a generic test runner that can be used as the base for the new test runner.

If a test runner has already been built for this track, please check if it works on both Concept Exercises and Practice Exercises.

It can be very useful to check how other tracks have implemented their test runner.

Tracking

exercism/v3-launch#4

@MeerKatDev
Copy link

I'll take this

@ErikSchierboom
Copy link
Member Author

@MeerKatDev There is an existing repository for that: https://github.com/exercism/scala-test-runner

@ErikSchierboom ErikSchierboom changed the title [v3] Build Test Runner Build Test Runner Aug 17, 2021
@ErikSchierboom ErikSchierboom added x:action/create Work on something from scratch x:knowledge/advanced Comprehensive Exercism knowledge required x:module/test-runner Work on Test Runners x:size/massive Massive amount of work x:type/coding Write code that is not student-facing content (e.g. test-runners, generators, but not exercises) labels Aug 17, 2021
@jcranky
Copy link
Contributor

jcranky commented Apr 23, 2022

What is the state of this? Judging from the (lack of) activity on https://github.com/exercism/scala-test-runner I imagine this is not progressing at the moment?

@ErikSchierboom
Copy link
Member Author

That is correct. The problem that we're having is that the Scala test runner is functional, but too slow at the moment to finish within our time constraints for test runners. If you have any idea how to speed up the test runner, help would be much appreciated!

@jcranky
Copy link
Contributor

jcranky commented Apr 26, 2022

Ah, I see. I'll have a look, just our of curiosity. No promises 😅

@jcranky
Copy link
Contributor

jcranky commented Apr 26, 2022

I saw the exercism/scala-test-runner#13 issue - I'll follow up there 😄

@LarsWestergren
Copy link
Contributor

Since exercism/scala-test-runner#13 is closed thanks to the hard work of @jcranky this could be closed as well right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
x:action/create Work on something from scratch x:knowledge/advanced Comprehensive Exercism knowledge required x:module/test-runner Work on Test Runners x:size/massive Massive amount of work x:type/coding Write code that is not student-facing content (e.g. test-runners, generators, but not exercises)
Projects
None yet
Development

No branches or pull requests

4 participants