Microshed Testing Versions Save

A test framework for black-box testing MicroProfile and Jakarta EE applications

0.9.2

5 months ago

⚠️ Breaking Changes

  • (#312) Introduced compatibility with the Jakarta Namespace.
    • The microshed-testing-core dependency is no longer automatically included with other modules which as microshed-testing-testcontainers or microshed-testing-liberty.
    • Users will need to choose either microshed-testing-core or microshed-testing-core-jakarta

🎉 Enhancements

  • (#296) Updates base liberty image to java 17
  • (#320) Update gradle wrapper

New Contributors

Full Changelog: https://github.com/MicroShed/microshed-testing/compare/0.9.1...0.9.2

0.9.1

3 years ago

🐛 Bug Fixes

  • Quarkus extension is now fixed (#223)
  • Fix issue where incorrect HTTP port gets used for rest clients in hollow mode (#227)
  • Upgrade to Testcontainers 1.15.0 to pick up important fix for running on Docker for Mac 2.4 (#241)

0.9

4 years ago

⚠️ Breaking Changes

  • Renamed Kafka client annotations. @KafkaConsumerConfig changed to @KafkaConsumerClient and @KafkaProducerConfig changed to @KafkaProducerClient (#189)

🎉 Enhancements

  • Add withHttpPort(int) to ApplicationContainer (#187)
  • Display important log messages such as ApplicationContainer output in STDOUT if log4j is not enabled (#192)
  • Initial support for reusable containers (#183)
  • Display mapped exposed ports in logs (#187)

🐛 Bug Fixes

  • Raise an error if multiple ApplicationContainers are found (#190)
  • Add validation to ApplicationContainer.withMpRestClient (#191)
  • Block ApplicationContainer.withReuse(true) (#191)

0.8

4 years ago

🎉 Enhancements

  • Add @BasicAuthConfig for testing applications with HTTP Basic authentication (#158)
  • Support for Kafka applications with auto-configuration via @KafkaConsumerConfig and @KafkaProducerConfig (#159)
  • Additional Kafka auto-configuration for Quarkus and OpenLiberty runtimes (#159)

🐛 Bug Fixes

  • Do not specify HttpWait port on withReadinessPath (#150)
  • [Quarkus] Fix issue where injected REST Clients could use incorrect HTTP port (#160)

0.7.1

4 years ago

🎉 Enhancements

  • Allow configuration of application base path via microshed_app_context_root (#146)

🐛 Bug Fixes

  • Honor wait strategies when running in hollow or manual modes (#147)

0.7

4 years ago

🎉 Enhancements

  • Added a new Quarkus module (#141)
  • Auto-configuration for RESTAssured (#134)

🐛Bug fixes

  • Explicitly trigger static init of SharedContainerConfig so AppEnv can be set in static init blocks (#144)
  • Cache loaded AppEnv once loaded for consistent AppEnv for entire test run (#144)

0.6.2

4 years ago

🎉 Enhancements

  • Added Wildfly module (#128) by @rieckpil

0.6.1.1

4 years ago

🐛 Bug Fixes

  • Fixed issue for using MP Rest Client in hollow mode (#123)
  • [Liberty] Disabled configure.sh due to docker daemon caching issue (#123)

0.6

4 years ago

⚠️ Breaking Changes

  • Class MicroProfileApplication renamed to ApplicationContainer. This is to more accurately reflect that the application being tested can be a non-MicroProfile application (#113)
  • Injecting REST Clients into tests now uses a new @org.microshed.testing.jaxrs.RESTClient annotation instead of @javax.inject.Inject. This is to more clearly signify that the injected object is a REST Client, as opposed to a regular instance of the class. (#114)
  • Reworked RestClientBuilder to be a proper builder API (#115)

🎉 Enhancements

  • Enhance withMpRestClient to account for baseUri which was introduced in MP Rest Client 1.3 (#118)
  • Updated Liberty adapter to use latest tag and run configure.sh which helps reduce test runtime (#115)

🐛 Bug Fixes

  • Fixed env var sanitization issue in hollow mode (#117)

0.5

4 years ago

Bug fixes

  • Removed automatic detection of MP Health 2.0 readiness because it was being applied in too many scenarios (#108)
  • Tolerate liberty image building when src/main/liberty/config is missing (#108)
  • Use consistent priority in runtime modules (#107)