Azure / appcat-rulesets

Repository for maintaining Rulesets for Windup
Eclipse Public License 2.0
5 stars 7 forks source link

Rules for unit tests #129

Open brunoborges opened 11 months ago

brunoborges commented 11 months ago

Customers may need help updating their tests as well, for example to use TestContainers to emulate Azure CosmosDB, or to properly use Spring Profiles for local development testing.

Another scenario is updating test cases due to JDK migration efforts.

brunoborges commented 11 months ago

One piece of feedback we got from a customer was the following:

  1. Customer was unable to develop locally once Azure Key Vault was added because of the lack of a managed identity that would allow the local development environment access Azure Key Vault.
  2. Customer asked if we had an equivalent to LocalStack which is available as 3rd party offering for AWS customers and allows you to develop locally with several AWS services.
  3. Customer could not use managed identity on their local PostgreSQL database but was able to work around the issue using Spring Boot profiles and direct PostgreSQL user accounts.

These rules for test cases can be helpful to reduce complexity of testing the project if/when it goes to Azure.