Skip to content

Commit

Permalink
test: inplement the cucumber conformance tests from cloudevents/spec (#…
Browse files Browse the repository at this point in the history
…238)

This commit adds cucumber-js conformance steps and includes the cucumber
tests in 'npm test'.

Signed-off-by: Lance Ball <lball@redhat.com>
  • Loading branch information
lance authored Jul 13, 2020
1 parent 90a9984 commit dca2811
Show file tree
Hide file tree
Showing 23 changed files with 1,425 additions and 52 deletions.
Empty file added .gitmodules
Empty file.
11 changes: 11 additions & 0 deletions cucumber.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// cucumber.js
let common = [
"--require-module ts-node/register", // Load TypeScript module
"--require test/conformance/steps.ts", // Load step definitions
"--format progress-bar", // Load custom formatter
"--format node_modules/cucumber-pretty", // Load custom formatter
].join(" ");

module.exports = {
default: common,
};
Loading

0 comments on commit dca2811

Please sign in to comment.