Closed stof closed 8 years ago
Failed tests.
yeah, ServerTest is a bit weird, and it was testing this behavior.
I removed the assertion on the replacement (as I broke this small case, as explained above, even though it does not impact the usage of the driver thanks to the previous PR), and I also updated the tests to better test the Server class regarding the temporary server (allowing to test the deprecated API btw)
Good.
This PR is the blocker for the release of this driver. All other (non-deprecated) drivers have been released
Forcing to create a temporary server is breaking the support of custom server scripts (for people wanting to do it for whatever reason). Rebuilding the server is also useless now that the script does not uses replacements but environment variables.
Closes #160.
This would break the usage of the setter for people using their own Server implementation not updated to stop using replacements, but this should not be common (and I wouldn't consider it as a supported usage). People using ZombieDriver must be using the ZombieServer class anyway, so no BC break for them