Need help making goto test work for other testing frameworks

I made a really simple unit test framework called otest [1] which is similar to the ScalaTest FunSuite style but which
cross compiles to ScalaJS. I did this because:
1. I have to port over 100s or existing funsuite unit tests and the utest model was too different to be adapted for what we already had.
2. We don't use 99% of features of ScalaTest. We built everything off FunSuite and basic assertions, because we've gotten burned having to rewrite the tests so many times in the last 6 years when ScalaTest deprecates parts of it's API on every release assert=>assertResult=>expectResult .... yadda yadda I can't keep them straight in my head anymore.

Anyhow, unfortunately this breaks the 'goto test' helper which is really unfortunate, is there a pluggable way I can add otest support
to it? How is it finding the tests right now? Is there some hacking you guys can think of that I can do to get this to work?

I tried to trick it by making an file in org.scalatest.FunSuite that extends cgta.otest.FunSuite and than having my test extend org.scalatest.FunSuite
unfortunately the plugin still doesn't seem to find it. So I am guessing it isn't finding the tests based on typename.

Thanks!
Ben

1: https://github.com/cgta/otest

Please sign in to leave a comment.