feat(tstest): Enhance tstest with fluent API, suite grouping, tag filtering, fixture & snapshot testing, and parallel execution improvements

This commit is contained in:
2025-05-16 00:21:32 +00:00
parent 1c5cf46ba9
commit 2b01d949f2
30 changed files with 1504 additions and 173 deletions

View File

@@ -17,9 +17,9 @@ const test3 = tap.test(
async () => {
expect(
(await test1.testPromise).hrtMeasurement.milliSeconds <
(await test2).hrtMeasurement.milliSeconds,
(await test2.testPromise).hrtMeasurement.milliSeconds,
).toBeTrue();
expect((await test2.testPromise).hrtMeasurement.milliSeconds > 1000).toBeTrue();
expect((await test2.testPromise).hrtMeasurement.milliSeconds >= 1000).toBeTrue();
},
);
@@ -46,4 +46,4 @@ const test7 = tap.test('my 7th test -> should print a colored string', async (to
console.log(cs);
});
tap.start();
tap.start();