What is it for? I am building a simple restful API using Express over MongoDB in order to support a mobile application. Even though the endpoint was quite straightforward, I wanted to ensure it is properly tested. In creating this test, I wanted to fulfill some simple objectives
Integration style test - completely independent of the implementation Setup and Teardown of the database. Fast, simple, as little complexity as possible What Am I Testing? ...