mercredi 6 juillet 2016

ScalaTestingWithGuice for play! 2.3

I'm looking for something similar for play 2.3: http://ift.tt/1JX3GKw

I need this stuff:

// Override bindings
// Bindings can be overridden using Play bindings,
// or modules that //provide bindings. For example:

val application = new GuiceApplicationBuilder()
  .overrides(bind[Component].to[MockComponent])
  .build

Is there any possible to get similar stuff in 2.3?

Aucun commentaire:

Enregistrer un commentaire