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 more cartesi-machine.lua tests and code coverage #283

Open
edubart opened this issue Oct 18, 2024 · 0 comments
Open

Add more cartesi-machine.lua tests and code coverage #283

edubart opened this issue Oct 18, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@edubart
Copy link
Contributor

edubart commented Oct 18, 2024

Context

The cartesi-machine.lua has many options, many of its prototyping options are not being really tested, because we perform tests more on the cartesi Lua library actually. Occasionally some less used options in the cli are breaking as we refactor things and people have been reporting me. We need to add a test suite for it and ideally use luacov to make sure it's covering the whole file.

Possible solutions

Add tests for every cartesi-machine.lua option, and use luacov to check its coverage. I am willing to do this when I have time to finish #37 which will contain a great overhaul of our Lua tests.

@edubart edubart added the bug Something isn't working label Oct 18, 2024
@edubart edubart self-assigned this Oct 18, 2024
@edubart edubart added enhancement New feature or request and removed bug Something isn't working labels Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant