I’m trying to solve the “Simple Linked List” exercise from the Scala track. Everything looks good locally (where I use sbt test with scala 2.13.10), but when I submit the exercise, online tests fail with:
/mnt/exercism-iteration/src/test/scala/SimpleLinkedListTest.scala:1: error: object scalacheck is not a member of package org
Something might be wrong with the testing architecture.
Apologies if this is not the right place to report such issues.
Testing the solution fails since the tests are run in offline mode and the scalacheck dependency isn’t prefetched.
Adding an extra dependency to the test runner’s build.sbt fixes running the tests - I get test results back locally.
Removing any property-based tests for that exercise will also solve the isse, but I’d opt for #1.
#3 “fixes” it in a brute force way by not running the tests for that exercise and not telling the student they fail. This has many obvious downsides, not least that the exercise isn’t solvable in the browser, but it’s our solution of last resort for situations where we simply cannot run the tests on our infrastructure (most commonly when the optimal solution will still take >10s to run so will always time out). So I state it as an option, but obviously not one we’d ideally choose to take! :)