curtisullerich / attendance

An attendance application built for the Iowa State University Cyclone Football 'Varsity' Marching Band.
MIT License
6 stars 2 forks source link

Test the MobileApp interfacing #94

Open bmaxwell921 opened 12 years ago

bmaxwell921 commented 12 years ago

We want to make sure that the Mobile App is correctly merging and updating the absences and events

curtisullerich commented 12 years ago

I did this manually. All seems well. Can we do any better?

bmaxwell921 commented 12 years ago

The testers at maverick use software called Selenium to do web browser automation. I'm not sure if that would be useful for us but maybe we could look into it?

curtisullerich commented 12 years ago

For the future, maybe, but I don't think we have time to deal with that now.

danstiner commented 12 years ago

Pushing back.

danstiner commented 11 years ago

Do with #151

danstiner commented 10 years ago

I think combining selenium and phantomjs would be a good solution if we want web UI tests, but I'm hoping with the rewrite tracked by #151 unit test coverage will be enough to maybe not have UI tests.

curtisullerich commented 10 years ago

Agreed that most of this can be wrapped up in unit tests if we design a bit smarter. Though I'd really like tests that check the JSPs for errors/exceptions when loading, definitely with no input (just a dumb GET) and possibly with expected inputs. Experience says this would save a ton of time in the process of making changes.

danstiner commented 10 years ago

phantomjs is perfect for that kind of stuff IMO, either with selenium or just javascript driven tests. Headless browser = fast and reliable but it's still a really good approximation of a real browser.