Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 1.89 KB

CHANGELOG.md

File metadata and controls

47 lines (37 loc) · 1.89 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.3.1] - 2020-11-23

Changed

  • GH-28 OPA process' output is now consumed and logged on info level, so the subprocess doesn't hang anymore
  • startOpa task now waits for OPA server to initialize
  • enabled test in StopOpaTaskTest
  • for now, tests rely on opa in $PATH

[0.3.0] - 2020-07-16

Added

  • GH-15 Make testRego task output opa -v-like summary when invoked with --info

Changed

  • Refactor TestRegoTask
  • GH-18 Use dedicated library to output JUnit XML

[0.2.1] - 2020-06-14

Changed

  • GH-14 Fix "Failed to read input stream" bug that was triggered on non-empty test-results directory.

[0.2.0] - 2020-06-09

Changed

  • Complete rewrite of the testRego task, now not just failing the build on test failures or errors but actually translating the test results into formats recognizable both by Gradle and by CI/CD systems by exporing the test results into JUnit XML reports. This allows for OPA/Rego tests to be both tested and reported like any other Gradle tests.
  • Task configuration may now override "base" configuration (like srcDir and testDir) on a per task basis.
  • Tons of internal improvements, tests and fixes.

[0.1.1] - 2019-11-14

Added

  • Install/usage instructions to README now that plugin has been approved for plugin.gradle.org.

Changed

  • Fixed opa configuration object which would always use default values regardless of provided config.

[0.1.0] - 2019-11-13

Added

  • First release, including task testRego, testRegoCoverage, startOpa, stopOpa.