jeudi 14 février 2019

How do I run unit tests against Akka Actors using Ant?

I am in a project environment where Apache Ant is used exclusively to build, test, and deploy production application. I do not have control or influence over this, and it will not change. (ie. I cannot just switch to SBT for this application.)

I have inherited a Scala 2.9.3 application that I am upgrading to Scala 2.12.4. I'm also adding SBT and IDE (Intelli-J) support for LOCAL development, build, testing purposes.

I have everything working building, testing, running locally using ANT, SBT, and the IDE. I'm using scalatest 2.12.3 for most unit tests. But I've run into a problem trying to integrate the Akka Test Kit : https://doc.akka.io/docs/akka/2.5/testing.html

I am unable to create an Ant taskdef for running the tests.

How do I run unit tests against Akka Actors using Ant?

I can provide source code, as needed. But I don't know how that will help, so please be specific if you want/need to see something.

Thanks!

Aucun commentaire:

Enregistrer un commentaire