Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Global Configuration for Pysertive #3

Open
abeltavares opened this issue May 21, 2024 · 0 comments
Open

Implement Global Configuration for Pysertive #3

abeltavares opened this issue May 21, 2024 · 0 comments
Labels

Comments

@abeltavares
Copy link
Owner

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant