Skip to content

AkkaTestKitSpecs2Support should not be a Class #10

Description

@bpholt

class AkkaTestKitSpecs2Support(config: Option[Config] = None)(implicit executionEnv: ExecutionEnv = null) extends TestKitBase with After with ImplicitSender {

Because this is a class and not a trait, the delayedInit function is called twice. In some cases this defeats the purpose of shutting down the actor system in after.

I think this is a class here to take advantage of a constructor parameter for the config object, so we'll need to figure out another way of handling that.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions