Skip to main content

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.

PropertyValue
SeverityError
MessageThe testing environment is not defined.
CodeAPIMATICCODEGEN_V203
TypeValidation
Rule SystemSemantic
Broad CategoryTest Generation Settings
Products ImpactedCode Generation, Developer Experience Portal
Tagsapimatic 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.

For More Information