Questions tagged [playspec]

Convenience "super Suite" base class for Play tests.

PlaySpec extends WordSpec with MustMatchers with OptionValues with WsScalaTestClient

https://www.playframework.com/documentation/2.7.0/api/scala/org/scalatestplus/play/PlaySpec.html

2 questions
0
votes
1 answer

What is the better approach on functional testing playframework with scala with Injection

I am using scala 2.8 and I am a newbie in scala. I have a challenge testing this endpoint due to injection. Below is my endpoint @Singleton class AuthController @Inject()( cc:ControllerComponents …
Muyinda Rogers
  • 147
  • 3
  • 13
0
votes
1 answer

Intellij/Scalatest failing to start tests

I am running my Playspec tests but I keep getting error that 60 of the tests failed to start. What is surprising is the nesting of test cases. Sorry, I don't have more information at the moment. What does the nested testcase list (lower left corner)…
Manu Chadha
  • 15,555
  • 19
  • 91
  • 184