128 reputation
3
bio website kahunacohen.com
location Maryland
age
visits member for 3 years, 3 months
seen Aug 14 at 14:03

Aug
14
accepted Multiple Assertions and Continue on Assertion Failures in Functional Test an Anti-pattern?
Aug
1
comment Multiple Assertions and Continue on Assertion Failures in Functional Test an Anti-pattern?
So to sum up, it seems that as opposed to unit tests, it's OK practice in functional tests to make a number of assertions, since we often testing a UI flow. However, one should be judicious of continuing on failure. I will save this as an answer.
Aug
1
comment Multiple Assertions and Continue on Assertion Failures in Functional Test an Anti-pattern?
Yeah in this case I'd probably collect the data as a tuple and compare it against an expected tuple.
Aug
1
comment Multiple Assertions and Continue on Assertion Failures in Functional Test an Anti-pattern?
So if you didn't find a press report you would stop executing? In other words does the concept of continue on failure for assertions make sense for functional tests, but not for unit tests? Or is it that that first assertion is so important that if it fails you stop running, but if it passes you continue on subsequent assertion failures?
Aug
1
comment Multiple Assertions and Continue on Assertion Failures in Functional Test an Anti-pattern?
So you would rather have repetitive setup than make multiple assertions in the same session? That's what I try to stress to my QA members, since you can always multiprocess.
Aug
1
comment Page Object Design: Is there a Python equivalent to Ruby gems “site_prism” or “page_object”?
Holmium looks pretty good. I think we looked at it, and I don't remember why we didn't choose it. Our solution doesn't expose the driver. That's taken care of in the base Page class. We base our library off of Selenium2Library, which is a really nice Robot interface to Selenium2. This means that you leverage that library whether you are writing Robot tests, unittest TestCases, Cucumber tests etc. It also adds a real page object pattern to Robot, which lacks that ability natively.
Aug
1
comment Page Object Design: Is there a Python equivalent to Ruby gems “site_prism” or “page_object”?
Yes, I didn't find much out there that suited our needs. I think it's a pretty good package and like I said we are trying to get our organization to allow us to release it open-source. It even integrates with Sauce.
Aug
1
comment Page Object Design: Is there a Python equivalent to Ruby gems “site_prism” or “page_object”?
Our organization has done so for Python. It uses Robot Framework's Selenium2Library under the hood, but is usable independently of Robot tests. I am trying to release it open-source.
Aug
1
asked Multiple Assertions and Continue on Assertion Failures in Functional Test an Anti-pattern?
Jun
2
awarded  Scholar
Jun
2
awarded  Supporter
Jun
2
accepted How to 'Mock' SVN
Jun
1
awarded  Student
Jun
1
asked How to 'Mock' SVN