sfbrigade / datasci-sba

Solving problems with the Small Business Administration
10 stars 18 forks source link

Adding Framework For Test Suite #36

Closed VincentLa14 closed 7 years ago

VincentLa14 commented 7 years ago

There's a lot going on in this PR; happy to talk through it if anyone is interested. Honestly, I don't fully 100% understand everything here, a lot of copying and pasting.

Quick summary is that i'm using pytest to set up the framework for a test suite. For now, I'm setting up the framework to test the queries hitting our postgres database. So what conftest.py is doing is essentially setting up our testing postgres database.

CircleCI is an app that's integrated with GitHub that will automatically run tests every time we commit.

VincentLa commented 7 years ago

Don't hate me but I'm going to approve this myself. This is pretty isolated from the rest of the code, and I just want to get the testing framework up so CircleCI checks stop "failing"