emilien
15 years agoOccasional Contributor
Authenticate preemptively through testrunner command line
Hi,
I have been trying to get a project tested using the command line testrunner. Our tests requires the setting: Authenticate preemptively to be true. Which I have set via the preferences. This works if I run the testrunner myself. However when running it through our automated test environment, which i believe uses a different user, I am pretty sure its system, the settings doesn't seem to be set and fails every test (Except the one where it is expecting the 401
).
I am wondering how I would be able to get Authenticate preemptively set for my purpose?
Maybe set it on the project itself or pass it as an argument to testrunner? Not sure if either are possible.
I have been trying to get a project tested using the command line testrunner. Our tests requires the setting: Authenticate preemptively to be true. Which I have set via the preferences. This works if I run the testrunner myself. However when running it through our automated test environment, which i believe uses a different user, I am pretty sure its system, the settings doesn't seem to be set and fails every test (Except the one where it is expecting the 401

I am wondering how I would be able to get Authenticate preemptively set for my purpose?
Maybe set it on the project itself or pass it as an argument to testrunner? Not sure if either are possible.