Geeks With Blogs

News Please visit me at my new blog!!

profile for Aligned at Stack Overflow, Q&A for professional and enthusiast programmers
"free in Christ Jesus from the law of sin and death." Romans 8:2 (ESV) Check out the Falling Plates video on YouTube.
more about the Gospel
And then listen to Francis Chan speaking at LifeLight in SD.



Programming and Learning from SD

“There are consistencies in what we see as inconsistent”.

I said this out loud today. We have an automated UI test build where all passed 2 times in a row, now without any code changes 2 have failed, with 1 failing test (a different test each time). We’ve seen this with our VM environment and Selenium tests where an element couldn’t be found or a button doesn’t click (we run the same test on small and large and the small one may fail where the large one passes => it isn’t the code 98% of the time in our case). We haven’t been able to avoid these, even though we’ve gone through some refactors and a fair amount of time analyzing things.

So I asked others around me, why is it just one test and not 1 – 10 tests each time if it is a “random” Selenium/environment problem. I’m going to dig into some logs and look for timing issues. Maybe it’s the first or last test to run on the VM before the end of the tests? Who knows…

 

This all reminded me of the Pragmatic Programmer book and how the bug is probably in my code, not a bug in the OS. In this case, maybe it’s an environment setup issue…


Posted on Monday, February 23, 2015 10:11 PM Selenium , Pragmatic Programming | Back to top


Comments on this post: Thought of the day

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Aligned | Powered by: GeeksWithBlogs.net