I am struggling to find any ScalaTest samples written using FunSuite testing an akka actor.
I appreciate if somebody could provide a simple scalatest example testing a simple akka actor.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Akka is very well documented. You can find the documentation here. Here is the link to the Testing Actor Systems (Scala) chapter, which comes with an example.
Note: The full example uses a ScalaTest WordSpec. For a FunSuite example, change WordSpec to FunSuite and write tests with test(“test name”) rather than WordSpec’s should/in style. All else will be identical to the example shown.