StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
StackGenVis/frontend/node_modules/tape/test/skip.js

53 lines
1.1 KiB

4 years ago
var test = require('../');
var ran = 0;
var concat = require('concat-stream');
var tap = require('tap');
tap.test('test SKIP comment', function (assert) {
assert.plan(1);
var verify = function (output) {
assert.equal(output.toString('utf8'), [
'TAP version 13',
'# SKIP skipped',
'',
'1..0',
'# tests 0',
'# pass 0',
'',
'# ok',
''
].join('\n'));
};
var tapeTest = test.createHarness();
tapeTest.createStream().pipe(concat(verify));
tapeTest('skipped', { skip: true }, function (t) {
t.end();
});
});
test('skip this', { skip: true }, function (t) {
t.fail('this should not even run');
ran++;
t.end();
});
test.skip('skip this too', function (t) {
t.fail('this should not even run');
ran++;
t.end();
});
test('skip subtest', function (t) {
ran++;
t.test('skip this', { skip: true }, function (t) {
t.fail('this should not even run');
t.end();
});
t.end();
});
// vim: set softtabstop=4 shiftwidth=4: