Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

Add functional tests and run them via Travis #307

Merged
merged 1 commit into from Dec 4, 2015

Conversation

bobsilverberg
Copy link
Contributor

This adds some functional tests to the oneanddone repo and allows them to be run by Travis. There is definitely room for improvement here, but I wanted to try to get this initial version landed and then iterate on improvements.

@bobsilverberg bobsilverberg force-pushed the functional_tests branch 3 times, most recently from eba7800 to 82a14e6 Compare December 2, 2015 19:28
@bobsilverberg
Copy link
Contributor Author

@davehunt and @peterbe r? please, if you can find the time. :)

paths:
- results
permissions: public-read
bucket: fireplace-tests
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to leave this in? While artifacts may be useful I think we should have a more appropriate bucket name.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I need to set up a new bucket for these tests. Also, the secure variables in here will only work for my fork right now, so I should update those to work for the upstream repo.

@davehunt
Copy link
Member

davehunt commented Dec 3, 2015

Looks great, I added a few comments, and can't really provide much input for the app changes.

bobsilverberg added a commit to bobsilverberg/oneanddone that referenced this pull request Dec 3, 2015
@bobsilverberg
Copy link
Contributor Author

Thanks for the review, @davehunt. I have addressed your comments in a new commit.

@davehunt
Copy link
Member

davehunt commented Dec 3, 2015

Test related code looks good. I haven't run any tests locally (would you like me to?) This is an r+ from me, but would be good to get someone familiar with Django or pytest-django to look over the changes too.

@bobsilverberg
Copy link
Contributor Author

@akatsoulas or @glogiotatidis r? please and thank you

@@ -1,4 +1,9 @@
[flake8]
ignore=E121,E123,E124,E125,E126,E129
max-line-length=150
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@glogiotatidis
Copy link
Contributor

Great work @bobsilverberg! r+ 💯

@stephendonner
Copy link
Contributor

I like pushing green buttons which are backed by r+ code :-)

stephendonner added a commit that referenced this pull request Dec 4, 2015
Add functional tests and run them via Travis
@stephendonner stephendonner merged commit a086de5 into mozilla:master Dec 4, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants