jopenlibs / vault-java-driver

Zero-dependency Java client for HashiCorp's Vault
https://jopenlibs.github.io/vault-java-driver
27 stars 18 forks source link

[TASK] Integration tests refactoring #8

Closed tledkov closed 1 year ago

tledkov commented 1 year ago

Use parametrized tests to check different versions of the vault. Now tests for the latest version of vault are copy-pasted.

henryx commented 1 year ago

Simple method to made this task is to introduce an environment variable and populate it via github actions with the version of Vault which we test. Only issue to this is we need to exclude tests that are obsoleted from one version to another (see for example AppID method, which is declared obsolete from Vault 0.6.1 and from Vault 1.11.7 stops working). See the PR for the implementation