The Concerto Conformance Test Suite provides a standardized, automated testing suite to validate models and semantic behavior across Accord Project's Concerto implementation.
This repository includes:
- A set of semantic validation rules
- Comprehensive valid and invalid model examples
- Tests written using Cucumber, offering behavior-driven, human-readable test definitions
- Support for both JavaScript and C# runtimes
The suite specifically tests core components of the Concerto ecosystem: the
ModelFile
andModelManager
classes from@accordproject/concerto-core
- Install dependencies:
npm install
- Run the Javascript test suite:
npm test
- Run tests for C#:
npm run test:csharp
You can also use the built-in CLI for a guided setup:
npm start
The CLI allows you to provide custom ModelManager, Parser, or ModelFile sources for testing.
Enabling straightforward integration with CI/CD pipelines, so projects like Concerto itself can:
- Automatically run conformance tests on every push
- Detect semantic rule violations or model-breaking changes early
- Maintain consistent validation standards across development workflows