@ExtendWith(AkkaJunitExtension.class)
@AkkaJunitExtensionConfig(name = "test")
class SomeAkkaJunit5Test {
@Test
void system_is_present(ActorSystem system){
assertThat(system).isNotNull();
}
@Test
void system_has_name(ActorSystem system){
assertThat(system.name()).isEqualTo("test");
}
@Test
void actormaterializer_is_present(ActorMaterializer mat) {
assertThat(mat).isNotNull();
}
}
Junit5 Extension for writing tests with akka
License
seakayone/akka-junit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Junit5 Extension for writing tests with akka
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published