JRuby code katas

Hi,

I run the site codingkata.org where you can try to solve ready-made code
katas (exercises). I just added experimental support for JRuby - could
someone please try to solve 1 or 2 katas to see if it basically works (I
lack ruby skills myself)?

For feedback please use the according button on the site :slight_smile:

Cheers!

I tried the fizzbuzz example. It does follow a very java-centric
approach
(creating a Java project, Java unit test, and requiring java_signature
on
the method for the kata), but I assume that was your intent. Also, mvn
integration-test reports successful completion of the kata regardless of
whether the solution is correct. I’m not sure where the unit tests
actually
are though, since IntegrationTest is empty in the java archetype as
well,
but that at least reports failure for the wrong solution.

Hope the feedback is useful.

I tried the fizzbuzz example. It does follow a very java-centric
approach (creating a Java project, Java unit test, and requiring
java_signature on the method for the kata), but I assume that was your
intent.

The site is supposed to support as many JVM languages as possible - so I
had to go down this path to guarantee compatibility for all of them.

Also, mvn
integration-test reports successful completion of the kata regardless of
whether the solution is correct. I’m not sure where the unit tests
actually
are though, since IntegrationTest is empty in the java archetype as
well,
but that at least reports failure for the wrong solution.

Well the IntegrationTest file is a place where people can optionally
write additional tests - for example if they work with TDD.
Could you build in an error on purpose (like returning “fizz” everytime)
and see if it catches it? And/or send the zip file in the target/-folder
to [email protected] :slight_smile:

Cheers