Skip to main content

spring_boot_starter_test 0.1.0 copy "spring_boot_starter_test: ^0.1.0" to clipboard
spring_boot_starter_test: ^0.1.0 copied to clipboard

Testing support for spring_boot_dart applications and starters: springBootTest (like @SpringBootTest), bean overrides for fakes and mocks, ApplicationContextRunner, bean matchers and log capture. Work [...]

0.1.0 #

Initial version.

  • springBootTest (@SpringBootTest): the test/resources/ test classpath (resourceDirectories), propertyFiles (@TestPropertySource), properties, profiles, environment, initializers, markDirty (@DirtiesContext), restored SpringLog state.
  • BeanOverride (@MockitoBean / @TestBean), keeping name, aliases, qualifiers and @Primary / @Fallback.
  • ApplicationContextRunner with AssertableApplicationContext.
  • Matchers: hasSingleBean, hasBean, doesNotHaveBean, hasBeanNamed, hasFailed.
  • captureLogs.
  • Built on test_api + matcher for flutter_test compatibility.
0
likes
0
points
776
downloads

Publisher

verified publisherfarum-azula.org

Weekly Downloads

Testing support for spring_boot_dart applications and starters: springBootTest (like @SpringBootTest), bean overrides for fakes and mocks, ApplicationContextRunner, bean matchers and log capture. Works with package:test and flutter_test.

Repository (GitHub)
View/report issues

Topics

#dependency-injection #testing #spring

License

unknown (license)

Dependencies

matcher, spring_boot_dart, test_api

More

Packages that depend on spring_boot_starter_test