scala icon indicating copy to clipboard operation
scala copied to clipboard

Rewrite test generators and update exercises

Open grzegorz-bielski opened this issue 5 months ago • 0 comments

In the scope of Scala 3 migration in https://github.com/exercism/scala/pull/836 old test generators were removed as they were quite stale and didn't work as expected for some time now, after upgrading the libs during migration (mainly play-json) they stopped working completely.

https://github.com/exercism/scala/pull/836 introduced a new POC approach to test generators based on the old one in the testgen module. It's not yet used.

For each exercise, we need to:

  • make a new test gen class
  • run the test gen and include it in the exercise folder
  • fix any errors and warnings in the tests or examples

In addition the core test gen code from POC could use following improvements:

  • template with more idiomatic Scala 3 test suite syntax
  • removal of the Twirl (?)
  • tighter integration with the config.json

This is blocked by: https://github.com/exercism/scala/issues/842

grzegorz-bielski avatar Sep 06 '24 20:09 grzegorz-bielski