Hacker News new | ask | show | jobs
by alex__c 2781 days ago
The objects under test are brittle and bound to change dramatically. Selenium can't offer you insurance against this.

I now remember a test suite we had on my project (automotive). We tested against the code structure... that is, we would follow a variable's lifetime and check that its value is correct throughout execution. Two releases later, guess which function got slightly refactored and threw off some 20 testcases?