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

Add some property-based tests #1

Open
kfl opened this issue Feb 21, 2022 · 1 comment
Open

Add some property-based tests #1

kfl opened this issue Feb 21, 2022 · 1 comment
Labels

Comments

@kfl
Copy link
Owner

kfl commented Feb 21, 2022

Add at least some sort minimal test suite.

Currently the level of "testing" is eyeballing the binary output.

@kfl kfl added hacktoberfest good first issue Good for newcomers labels Oct 7, 2022
@kfl kfl changed the title Write some tests Setup a minimal testsuite Oct 7, 2022
@kfl kfl changed the title Setup a minimal testsuite Add some property-based tests Jan 9, 2024
@kfl
Copy link
Owner Author

kfl commented Jan 9, 2024

The test suite is in test (surprise). It could use some property-based tests.

  • Add a file AsmTest.hs with Abritrary instances for the AST
  • Extend the round-trip tests in EbpfTest.hs to include some based on QuickCheck.

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