Our LIVE MVP and unit testing

Live MVP

We have finally released our live MVP to production!!!

http://strongsloth.herokuapp.com/

While minimal, we accomplished our goal of implementing a gym tracker which gives important information to both gym goers and university employees.  Check it out and let us know what you think!

Unit Testing:

With our live MVP comes unit testing.  We decided to use the python library unittest2 to test our flask/react application.

Why is this a good choice?

  • This library has extensive documentation which allows us to create better, well-informed test cases
  • It is simple.  We can seamlessly integrate our flask app to test all of our routes

Currently we have created a baseline number of tests that work well.  We are planning on building out more tests as our platform becomes more complex.  We currently are testing:

  • building the db
  • killing the db
  • the ‘/’ route
  • the ‘/api/v1/machines/’ route

While these 4 tests are minimal, having the framework set up for unit testing is very valuable.  These tests illustrate how easy and useful our testing framework will be.

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s