Open atherdon opened 5 years ago
we should have a similar to gs file tests for this methods/files
1) https://github.com/GroceriStar/groceristar-fetch/blob/master/projects/ChickenKyiv/chickenKyiv.test.js 2) https://github.com/GroceriStar/groceristar-fetch/blob/master/projects/MealCalendar/mealCalendar.test.js 3) https://github.com/GroceriStar/groceristar-fetch/blob/master/projects/Search/search.test.js 4) https://github.com/GroceriStar/groceristar-fetch/blob/master/index.test.js
What tests, should be moved:
So, I want to have 3 separated Pull Requests, related to working tests for each of "projects". If you want - you can split tests for each file that we connect at project - as a separated commit. but this is not necessary for me. But you can do it, in order to organize your work.
1) https://github.com/GroceriStar/groceristar-fetch/blob/master/projects/GroceriStar/groceristar.test.js#L29-L36 2) https://github.com/GroceriStar/groceristar-fetch/blob/master/projects/GroceriStar/groceristar.test.js#L38-L42 3) https://github.com/GroceriStar/groceristar-fetch/blob/master/projects/GroceriStar/groceristar.test.js#L60-L70 4) https://github.com/GroceriStar/groceristar-fetch/blob/master/projects/GroceriStar/groceristar.test.js#L72-L81 5) https://github.com/GroceriStar/groceristar-fetch/blob/master/projects/GroceriStar/groceristar.test.js#L83-L89 6) https://github.com/GroceriStar/groceristar-fetch/blob/master/projects/GroceriStar/groceristar.test.js#L142-L174
We should have tests, split for sections, related to each separated file. We should have few
describes
We should have count, checking props, check objects structure inside, maybe count of arrays, inside the props too.1) count 2) props 3) objects structure 4) count of arrays inside the props of file too.
Repeate all this stuff for each of project
This is a code that i use for groceristar in order to know how much data we have inside this files:
Index Test - should work for anyone file. right now its only for ChickenKyiv