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

Test-Driven Development Using hypothesis and deal #20

Open
adamamer20 opened this issue Jul 6, 2024 · 1 comment
Open

Test-Driven Development Using hypothesis and deal #20

adamamer20 opened this issue Jul 6, 2024 · 1 comment
Labels
devops-enhancement New DevOps feature or request

Comments

@adamamer20
Copy link
Owner

hypothesis is a property-based testing library that generates test cases automatically, covering a wide range of input scenarios. This approach helps uncover edge cases and unexpected behaviors that might be missed with manually written tests.

deal is a contract-based programming library that enforces a Design by contract (DbC) approach for functions, specifying preconditions, postconditions, and invariants. This ensures that functions behave as expected, making the codebase more robust and predictable. Additionally, Deal has an experimental feature for formal verification, which provides mathematical proof of code correctness, further enhancing reliability.

@adamamer20 adamamer20 added the devops-enhancement New DevOps feature or request label Jul 6, 2024
@rht
Copy link
Collaborator

rht commented Jul 8, 2024

That looks powerful, more systematic and comprehensive than asking a generative AI to write the tests for the uncovered code. I'm pleased that we are doing a different way of doing ABM (no more first mover advantage problem), and at the same time doing a more rigorous approach to code validity and soundness, approaching SELinux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops-enhancement New DevOps feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants