GroceriStar/groceristar-fetch

Move detailed tests from groceristar project to other projects too

Offen

#102 geöffnet am 20.10.2018

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (16 Forks)auto 404
enhancementgood first issuehelp wantedin-progresstests

Repository-Metriken

Stars
 (8 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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:

// module.count = function() {
//
// 	console.log('ingredient ' +  _.size() )
// 	console.log('department ' +  _.size() )
// 	console.log('grocery ' +  _.size() )
// 	console.log('users ' +  _.size() )
// 	console.log('ingredient ' +  _.size() )
//
//
// };

Index Test - should work for anyone file. right now its only for ChickenKyiv

Contributor Guide