Browse Source

added file to test the manual gemini-api

gemini
Alexander Wunschik 7 years ago
parent
commit
c39672e8ab
1 changed files with 19 additions and 0 deletions
  1. +19
    -0
      test/gemini/runGeminiTest.js

+ 19
- 0
test/gemini/runGeminiTest.js View File

@ -0,0 +1,19 @@
var path = require('path');
var Gemini = require('gemini/api');
var gemini = new Gemini(path.resolve(__dirname, '../../.gemini.js'));
/*
console.log(gemini.config.system.projectRoot);
gemini.readTests(path.resolve(__dirname, 'tests'))
.done(function(collection) {
collection.topLevelSuites().forEach(function(suite) {
console.log(suite.name);
});
});
*/
gemini.readTests(path.resolve(__dirname, 'tests'))
.done(function(collection) {
return gemini.test(collection);
});

Loading…
Cancel
Save