hendricksonsarahl / voluntr

An app that matches nonprofits with volunteers
8 stars 0 forks source link

Research pytest best practices and setup basic structure in Voluntr #38

Open razzlepdx opened 6 years ago

hendricksonsarahl commented 6 years ago

Hey Rachel, how far along on this issue are you? I was reading into more of our requirements and while I believe unit tests are super important, for the scope of this project we really only need to have manual acceptance tests and test plan to match our user stories. I can work with you to get that portion started if you want!

razzlepdx commented 6 years ago

Well, I have a little branch started for now, but haven't written much up for our documentation because I'm still trying to get comfortable with the basics. I think that we can use pytest-BDD for our acceptance testing.

You can see a good example of it in the Sisters of the Road project: https://github.com/codeforgoodconf/sisters-of-the-road-admin/blob/master/features/checkout_account_page.feature

and I've been looking a little at the docs here: https://media.readthedocs.org/pdf/pytest-bdd/latest/pytest-bdd.pdf

But if we want to just stick with the bare minimum requirements right now, let's talk about what kind of test plan you want me to write tonight in class!

hendricksonsarahl commented 6 years ago

Those look like solid resources! And yes, I think it'd be great to share what you've learned so far so we can come up with a specific plan tonight :)

hendricksonsarahl commented 6 years ago

I'm gonna assign myself along with you to get started on tests!