Contains all the labs used during the Specmatic hands-on workshop.
10-15 minutes.
- Docker Engine installed and running on your machine
- Ensure host networking is enabled in Docker Desktop on your machine. In Docker Desktop, go to Settings > Resources > Network and enable
Enable Host Networking. This allows the containers to access services running in Docker usinglocalhost
- An IDE (IntelliJ, VS Code, etc.)
Clone the repository to your local machine:
git clone https://github.com/specmatic/labsThis is a monorepo. Each lab is self-contained and organized in a separate directory, with its own README file containing instructions and code examples.
- Overview
- Independent Development and Deployment
- Test Pyramid - Contract Testing, API Testing, Workflow Testing
- Various Types of Contract Testing (CDCT, PDCT & API Design First)
- Specification (OpenAPI, AsyncAPI, ProtoBuf, GraphQL SDL, WSDL, Arazzo)
- Contract Driven Development (CDD) in Action Demo - Using Order-BFF as an example
- Contract Testing
- API Contract Test
- Using Inline examples as test data
- Using External examples as test data
- Intelligent service virtualization
- Inline Examples as mock data
- External examples as mock data
- API Testing
- Using matchers to assert specific values in the API response
- Backward Compatibility Testing
- Ensure changes to your API don't accidentally break your consumers
- Examples - Simplified Test Data Management
- Specmatic Features
- Event Driven Architecture with AsyncAPI
- Advanced Testing Concepts
- GenAI in Action
For more information on Specmatic and its features, please refer to the official documentation: Specmatic Documentation
Happy learning!