I've been working on actually moving the tests to the grid. There are some variables that you set when you run the test: SELENIUM_SERVER_ADDRESS, SELENIUM_PORT, SELENIUM_TEST_ADDRESS, Browser, etc. In getting this working, I've found these variables specified in no fewer than 10 different places in each project!
That's what I call overspecifying.
Sure, you can set these variables, and in theory they will trump each other, but setting them in this many places only leads to problems. How do you know which one(s) to change?
So, unless there's some really good explanation I haven't thought of, stick to setting your test variables in only one location. Just because you can set something and override it doesn't mean you should.
No comments:
Post a Comment