3 ms·
I wrote a shim layer over selenium using pythons test infrastructure so I can do self.clickPseudoButton('foo') self.setInputById('fizz', 'buzz')
by noir_lord 9y ago
I wrote a shim layer over selenium using pythons test infrastructure so I can do
self.clickPseudoButton('foo')
self.setInputById('fizz', 'buzz')
It also maps common operations against the structure of my legacy app, its way better than using the lower level API.
Tests look like pseudo code and are way more grokkable.
- cdubzzz 9y agoYour code available anywhere? (:
- noir_lord 9y agoIt's nothing that impressive but I'll post it on Monday when I'm at work, it's really just a bunch of helper methods to reduce boilerplatr.
- cdubzzz 9y agoYeah, I would just be curious to see how you organized. I kept meaning to step back and work on abstracting things but always got side tracked with other stuff. It gets real long and messy without that.