|
|
3 месяцев назад | |
|---|---|---|
| .. | ||
| adapters | 592e1a6d49 Simple cli to trigger spec file calls against the standalone extension core (#6029) | 3 месяцев назад |
| harness | 5be6ba68a3 Testing Platform - Support partial response validation via meta.expected (#6399) | 3 месяцев назад |
| README.md | 592e1a6d49 Simple cli to trigger spec file calls against the standalone extension core (#6029) | 3 месяцев назад |
| index.ts | 5be6ba68a3 Testing Platform - Support partial response validation via meta.expected (#6399) | 3 месяцев назад |
| package-lock.json | 5be6ba68a3 Testing Platform - Support partial response validation via meta.expected (#6399) | 3 месяцев назад |
| package.json | 5be6ba68a3 Testing Platform - Support partial response validation via meta.expected (#6399) | 3 месяцев назад |
| tsconfig.json | 592e1a6d49 Simple cli to trigger spec file calls against the standalone extension core (#6029) | 3 месяцев назад |
A CLI testing framework for the Cline Core extension, providing gRPC-based integration clients and utilities for automated scenarios.
The platform enables end-to-end validation of Cline's core functionality through:
testing-platform/
├── adapters/ # gRPC communication adapters
│ ├── grpcAdapter.ts # Main gRPC adapter implementation
├── harness/ # Test execution framework
│ ├── runner.ts # Main test runner
│ ├── types.ts # Type definitions
│ └── utils.ts # Utility functions
Generate proto files in the root Cline project:
npm run protos
From the root of the Cline project:
npm run install:all
npm run protos
Then install and build the testing platform:
cd testing-platform
npm install
npm run build
Before running specs, make sure the standalone Cline Core gRPC server (that runs mocks and host gRPC as well) is running:
npm run test:sca-server
Then finally you can run the cli as:
npm run start:dev <spec-file-or-folder>
bash