Doveps / mono

Code for Doveps projects
http://doveps.com
MIT License
0 stars 0 forks source link

Expand flavor compare/create test cases #120

Open greenmoss opened 6 years ago

greenmoss commented 6 years ago

Right now they only check for return code 200. They should dig deeper into the results and verify the returned data is correct.

greenmoss commented 6 years ago

@erikkaBaguio this is going to require some digging. Please ask me or @JosiahRegencia if you have questions.

greenmoss commented 6 years ago

Example: you give bank teller 20$ to deposit. Teller says "ok". That's good, but you would also want to see a receipt of your new bank balance, to prove that it went up by 20$

These tests are like that. Inserting via the API currently gives an "ok". We also want to make sure it did the right thing on the back end.

greenmoss commented 6 years ago

Scope: figure out what the API end points should be doing, then write more tests to verify that it happened.