I have a basic question about Quarkus testing, I would like to execute the command ./mvnw clean test
but I need to use a token to init the application.
I have configured application-test.properties
file to store the token:
discord.token=XYZ
So, in my code I was expecting to be able to retrieve the value of the discord.token
property:
@ConfigProperty(name = "discord.token")
private String token;
Is it possible? if not, how can I do this?
thanks