8000 test: inplement the cucumber conformance tests from cloudevents/spec … · lholmquist/sdk-javascript@dca2811 · GitHub
[go: up one dir, main page]

Skip to content

Commit dca2811

Browse files
authored
test: inplement the cucumber conformance tests from cloudevents/spec (cloudevents#238)
This commit adds cucumber-js conformance steps and includes the cucumber tests in 'npm test'. Signed-off-by: Lance Ball <lball@redhat.com>
1 parent 90a9984 commit dca2811

23 files changed

+1425
-52
lines changed

.gitmodules

Whitespace-only changes.

cucumber.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// cucumber.js
2+
let common = [
3+
"--require-module ts-node/register", // Load TypeScript module
4+
"--require test/conformance/steps.ts", // Load step definitions
5+
"--format progress-bar", // Load custom formatter
6+
"--format node_modules/cucumber-pretty", // Load custom formatter
7+
].join(" ");
8+
9+
module.exports = {
10+
default: common,
11+
};

0 commit comments

Comments
 (0)
0