Releases: hmrc/api-test-runner
0.10.0
0.9.0
Release Notes
The v0.9.0 release introduces the ability to override service-specific hosts in the test environment configuration, improving flexibility for multi-environment setups.
Users of this release should review their TestEnvironment configurations and update host definitions to use the new per-service overrides where needed.
Added
- Added support for overriding hosts on a per-service basis in
TestEnvironment.
Updated
- Enhanced
HttpClientto support this feature usingStandaloneWSClient.
For more details, refer to the pull request #13.
0.8.0
Release Notes
The v0.8.0 release introduces new configuration and HTTP client functionality to enable ZAP proxy setup for security testing. It centralises logging using ApiLogger and enhances flexibility for dynamic proxy server configuration.
Users of this release should update their test setups to incorporate the TestRunnerConfig changes and review proxy settings for ZAP integration.
Added
- Added
TestRunnerConfigfor proxy configuration. - Introduced
HttpClientimplementation for ZAP setup. - Centralised logging improvements via
ApiLogger.
For more details, refer to the pull request #12.
0.7.0
Release Notes
The v0.7.0 release cross builds for Scala 3 and bumps some dependencies to Play-3 versions.
Users of this release might need to update any akka package imports to org.apache.pekko.
Additionally, if using StandaloneWSRequest#Self#Response this will need to be refactored to use StandaloneWSResponse instead (an example of the change needed).
Updated
- Library now cross building for Scala 3
- Play-3 versions of play-json and play-ws updated
For more details, refer to the pull request #11.
0.6.0
Release Notes
The v0.6.0 release provides Scala 3 support.
Added
Scala 3 support
For more details, refer to the pull request #10.
0.5.0
Release Notes
The v0.5.0 release includes updates to dependencies and makes environment within TestConfiguration accessible.
Updated
Updated dependencies:
- play-ahc-ws-standalone
- play-ws-standalone-json
- scalatest
- slf4j-simple.
TestEnvironment environment is now accessible
For more details, refer to the pull request #6.
0.4.0
Release Notes
The v0.4.0 release provides support for deprecated for TestConfiguration.
Added
TestConfiguration Object:
- New TestConfiguration object that provides extension of TestEnvironment.
Removed
ApiLogger Object:
- ApiLogger object removed.
For more details, refer to the pull request #6.
0.3.0
Release Notes
The v0.3.0 release introduces an ApiLogger object to facilitate logging messages during API tests. This enhancement allows consumers to easily log messages using a standardised logger.
Added
ApiLogger Object:
- New ApiLogger object that provides a logger for API tests.
For more details, refer to the pull request #4.
0.2.0
Release Notes
The v0.2.0 release introduces a TestEnvironment object to simplify and standardise test environment configuration for teams using application.conf. This enhancement reduces duplication by providing a pre-defined environment configuration object.
Added
TestEnvironment Object:
- A new
TestEnvironmentobject designed to help with test configuration. - Reduces the need for teams to specify this object in their test repositories, promoting reusability and consistency.
For more details, refer to the pull request #3.
0.1.0
Release Notes
This is the initial release of the api-test-runner library, aimed at simplifying dependency management for API testing. This release primarily includes common API test dependencies.
Added
Common Test Dependencies:
- Pre-configured dependencies for popular API testing libraries such as configuration management, logging etc.
- Simplified configuration to get started with API testing quickly and efficiently.
For more details, refer to the pull request #2.