tstest/ts/tstest.tap.combinator.ts

22 lines
549 B
TypeScript
Raw Normal View History

2018-08-03 17:18:42 +00:00
// ============
// combines different tap test files to an overall result
// ============
import * as plugins from './tstest.plugins';
2018-08-04 12:23:07 +00:00
import { coloredString as cs } from '@pushrocks/consolecolor';
2018-08-03 17:18:42 +00:00
import { TapParser } from './tstest.tap.parser';
export class TapCombinator {
2018-08-04 12:23:07 +00:00
tapParserStore: TapParser[] = [];
2018-08-03 17:18:42 +00:00
addTapParser(tapParserArg: TapParser) {
2018-08-04 12:23:07 +00:00
this.tapParserStore.push(tapParserArg);
}
evaluate() {
console.log(`Ran ${this.tapParserStore.length} Testfiles!`);
for (const tapParser of this.tapParserStore) {
}
2018-08-03 17:18:42 +00:00
}
}