Skip to content

Implement Global Configuration for Pysertive #3

Description

@abeltavares

Description

Introduce a global configuration system to enable or disable contract checks across the entire application. This will facilitate different environments like development, testing, and production.

Suggested Implementation

Create a Config class with attributes to control the enforcement of preconditions, postconditions, and invariants. Update decorators to respect the global configuration settings.

Acceptance Criteria

  • Config class is created with appropriate attributes.
  • Decorators are updated to respect global configuration settings.
  • Unit tests are written to ensure global configuration works as expected.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions