Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

Add possibility to use scala testing frameworks for java solutions #817

Closed
oybek opened this issue May 16, 2020 · 1 comment
Closed

Add possibility to use scala testing frameworks for java solutions #817

oybek opened this issue May 16, 2020 · 1 comment

Comments

@oybek
Copy link

oybek commented May 16, 2020

My main language is scala and I create katas using scala.

Very popular language on codewars is java, and I usually translate my katas to it.

In order to minimize amout of work when creating kata I'm requesting in this issue
to add possibility to test java solutions using ScalaTest in scala, it is possible out of box,
since any java class could be used in scala code, and there are java to scala collections
converters

This feature will speed up kata translations amount, and will be very helpful for codewars community

Author: https://www.codewars.com/users/oybek

@kazk kazk transferred this issue from codewars/codewars.com May 17, 2020
@kazk
Copy link
Member

kazk commented May 17, 2020

Closing as wontfix. Currently Codewars can only have one test framework per language and we also have completely separate environments for each language and language version environments. It's also often required to adjust the tests based on the performance of the language (including the time to compile).

The opposite is somewhat possible on Qualified (JUnit in Scala) so maybe that can happen in the future on Codewars once it allows test frameworks to be configurable. You'll still need to adjust the syntax though.
Looking back, maybe it was better to use JUnit for Scala on Codewars, but ScalaTest performed much better in the setup we used to have.

@kazk kazk closed this as completed May 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants