reik.schatz
03/11/2019, 10:01 AM@Value("\${test.user.count.under.test:6}")
var testUserCountUnderTest: Int = 6
ienoobong
03/11/2019, 10:29 AMreik.schatz
03/11/2019, 10:32 AMthanksforallthefish
03/11/2019, 10:38 AMthanksforallthefish
03/11/2019, 10:39 AMmockk
(assuming you are using it) supports property mocking, you can just mock the value in unit testsienoobong
03/11/2019, 10:58 AMI think thats worse than using 6 two timesInteresting, do you mind explaining to me why please? @reik.schatz
reik.schatz
03/11/2019, 11:04 AMreik.schatz
03/11/2019, 11:05 AMienoobong
03/11/2019, 11:21 AM