For unit tests in Kotlin, what would be the best w...
# getting-started
c
For unit tests in Kotlin, what would be the best way to specify my properties file I want to use with the test. Say if I am running my tests against a different environment?
Copy code
/**
 * API tests for User service
 */
class UserApiTests : RestAssuredSupport {


    val config = systemProperties() overriding
            EnvironmentVariables() overriding
            ConfigurationProperties.fromResource("office.properties")
Can I just have a command line argument for the properties file, or is there a smarter way?