bentonam / fakeit

Generates JSON documents based on models defined in YAML and adds them to a Couchbase Bucket
MIT License
86 stars 21 forks source link

Add unit tests, and continuous integration #90

Closed tjbenton closed 7 years ago

tjbenton commented 7 years ago

Since this library has grown to accommodate several different functionalities there needs to be unit tests as well as comparison tests. Comparison tests are to ensure that things are outputting correctly but this will be a little tricky since we're dealing with random data so some sort of testing helper will need to be created for these.

This will be done using ava, and ava-spec. The continuous integration will be done with travis ci.