forumone / peacecorps-site

A place to think and work on a new Peace Corps website.
Other
13 stars 21 forks source link

Create browser testing framework #75

Open cmc333333 opened 9 years ago

cmc333333 commented 9 years ago

Right now, we have some python unit tests. It'd be great if we integrated selenium/similar into travis.

msecret commented 9 years ago

I would like to see some CSS testing, regression and cross-browser. JS testing would also be good, although I don't think our JS is ready for that yet.

franklyandy commented 9 years ago

Are you looking for Cucumber style tests for verifying core functionality?

cmc333333 commented 9 years ago

To update this ticket - @msecret added JS unit testing not too long ago, but we're still largely relying on unit tests.

@franklyandy - cucumber style tests would be a wonderful addition. I can whip up some relevant gherkin if you're willing to set up a test runner and fill in a few steps. Let us know how we can help!

franklyandy commented 9 years ago

@cmc333333 - I might be able to help out with this. We might want to create a separate repo to keep the code in this project focused. Perhaps we could create a repo called peacecorps-acceptance-tests or peacecorp-web-tests?

Once the structure is in place there, we'll have a place to store the feature files.

cmc333333 commented 9 years ago

@franklyandy we've been keeping the tests within this repo so far (peacecorps/*/tests and peacecorps/peacecorps/static/peacecorps/js/src/tests)

ascott1 commented 9 years ago

@cmc333333 I recommend taking a look at Intern