From c39672e8ab8bbd6dab912b9028fad518ba26d45b Mon Sep 17 00:00:00 2001 From: Alexander Wunschik Date: Sat, 1 Jul 2017 17:11:04 +0200 Subject: [PATCH] added file to test the manual gemini-api --- test/gemini/runGeminiTest.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test/gemini/runGeminiTest.js diff --git a/test/gemini/runGeminiTest.js b/test/gemini/runGeminiTest.js new file mode 100644 index 00000000..c444c6f3 --- /dev/null +++ b/test/gemini/runGeminiTest.js @@ -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); + });