Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: include version 2.1 and new bindings #85

Merged
merged 14 commits into from
Jul 30, 2021
Merged
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# AsyncAPI tck
AsyncAPI's Test Compatibility Kit (TCK) provides a way for AsyncAPI processors to test their level of compliance with the [AsyncAPI 2.0 Spec](https://github.com/asyncapi/asyncapi/blob/master/versions/2.0.0/asyncapi.md). This TCK contains a set of AsyncAPI documents meant to be used to test correct and incorrect usage of each AsyncAPI feature.
AsyncAPI's Test Compatibility Kit (TCK) provides a way for AsyncAPI processors to test their level of compliance with the specification. This TCK contains a set of AsyncAPI documents meant to be used to test correct and incorrect usage of each AsyncAPI feature.
jonaslagoni marked this conversation as resolved.
Show resolved Hide resolved

The TCK is build for version >=2.0.0.

## Contributing
We welcome contributions! If you have a new test case in mind, feel free to submit a pull request. More info on how to do that [here](./CONTRIBUTING.md).
2 changes: 1 addition & 1 deletion runner/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func main() {
// asyncapi/tck/runner
rootFl, _ := filepath.Abs(filepath.Join(".."))

testsFl, _ := filepath.Abs(filepath.Join(rootFl, "tests", "asyncapi-2.0"))
testsFl, _ := filepath.Abs(filepath.Join(rootFl, "tests"))
fileList, err := ListYamls(testsFl)
if err != nil {
fmt.Printf("Failed to list YAML files: %s\n", err)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void run() {
// tck/runner/java
Path rootDirRel = Paths.get("../../");
String rootDir = rootDirRel.toAbsolutePath().toString();
String testsDir = Paths.get(rootDir, "tests", "asyncapi-2.0").toString();
String testsDir = Paths.get(rootDir, "tests").toString();
Stream<String> fileList = Utils.listYamls(testsDir);

JSONObject report = new JSONObject();
Expand Down
277 changes: 276 additions & 1 deletion runner/js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion runner/js/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async function main () {
}

const fileList = utils.listYamlFiles(
path.resolve(ROOT_DIR, 'tests', 'asyncapi-2.0'))
path.resolve(ROOT_DIR, 'tests'))
let report = {
parser: {
name: argv.parser,
Expand Down
Loading