valentinajemuovic / banking-kata-java

Banking Kata (Java)
MIT License
346 stars 92 forks source link

BankingProviderContractTest - ContextConfiguration #91

Open valentinajemuovic opened 1 year ago

valentinajemuovic commented 1 year ago

For the class BankingProviderContractTest, currently we have @ActiveProfiles({ ProfileNames.ADAPTER_PERSISTENCE_JPA, ProfileNames.ADAPTER_PERSISTENCE_REDIS, ProfileNames.ADAPTER_GENERATION_RANDOM, ProfileNames.ADAPTER_TIME_SYSTEM, ProfileNames.ADAPTER_MICROSERVICE_SIM, ProfileNames.ADAPTER_THIRDPARTY_SIM, ProfileNames.ADAPTER_AUTH_NONE})

May consider getting @ContextConfiguration(classes = ContractTestConfiguration.class) to work instead of ActiveProfiles, so that we could pass in the fakes rather than real, since anyway the application core is being mocked out here.