Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 892 Bytes

CONTRIBUTING.md

File metadata and controls

13 lines (8 loc) · 892 Bytes

Contributing

Each test case should contain the following files:

  • A valid *valid*.yaml file showcasing valid use of the feature under test
  • An invalid *invalid*.yaml files showcasing invalid use of the feature under test

Please place new tests in one of tests/asyncapi-2.0 sub-folders. Name of the target folder should correspond to the name of the feature your tests test. E.g. if your new .yaml tests Info Object, place it in tests/asyncapi-2.0/Info Object.

Non-AsyncAPI files (libraries, extensions, etc.) must have a .yml extension instead of .yaml.

Running tests

We've created a separate project called tck runner to run all the tests contained in the AsyncAPI TCK. By following the instructions on that directory, you should be able to test any new test case that you may want to contribute against the different projects that this runner covers.