Sha256: 99b4b057a53b6371a5526f2bc32678a3702cb7aaff1e56313ae56c0cbe1a6f0d
Contents?: true
Size: 826 Bytes
Versions: 4
Compression:
Stored size: 826 Bytes
Contents
(function (){ /* ADAPTER * * This blanket.js adapter is designed to autostart coverage * immediately. The other side of this is handled from Cucumber * * Required blanket commands: * blanket.setupCoverage(); // Do it ASAP * blanket.onTestStart(); // Do it ASAP * blanket.onTestDone(); // After Scenario Hook * blanket.onTestsDone(); // After Scenario Hook */ blanket.beforeStartTestRunner({ callback: function() { blanket.setupCoverage(); blanket.onTestStart(); } }); /* REPORTER * * Blanket.js docs speak of blanket.customReporter but * that doesn't actually work so we'll override defaultReporter */ blanket.defaultReporter = function(coverage_results){ window.COVERAGE_RESULTS = coverage_results; // We'll grab this on selenium side }; })();
Version data entries
4 entries across 4 versions & 1 rubygems