pre-defined-testgen-environment
Overview
This rule belongs to the apimatic-codegen-validation ruleset and states that:
The environment set in the test configuration settings must be pre-defined in the API specification's server configuration.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | The testing environment is not defined. |
| Code | APIMATICCODEGEN_V203 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Test Generation Settings |
| Products Impacted | Code Generation, Developer Experience Portal |
| Tags | apimatic code generation codegen sdks portal docs validation apimatic testgen setting test case |
Suggested Fixes
- Check that the environment name is not misspelled.
- Define the environment in the server configuration if you haven't already.