Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

epic: investigate test-runner possibilities #774

Open
enitrat opened this issue Apr 13, 2024 · 1 comment
Open

epic: investigate test-runner possibilities #774

enitrat opened this issue Apr 13, 2024 · 1 comment
Labels
enhancement New feature or request epic Macro-task - Usually a collection of sub-issues

Comments

@enitrat
Copy link
Contributor

enitrat commented Apr 13, 2024

Feature Request

The current state of the test runners doesn't let us have a strong and maintainable codebase.
We want to have a solution that allows:

  • Diff testing (e.g. pass expected value from python / rust and check against the value in cairo)
  • Parametrized tests (very important!)
  • Fast testing (sub 10s for a single test)
@enitrat enitrat added enhancement New feature or request epic Macro-task - Usually a collection of sub-issues labels Apr 13, 2024
@github-project-automation github-project-automation bot moved this to 🆕 Backlog in Kakarot on Starknet Apr 13, 2024
@enitrat
Copy link
Contributor Author

enitrat commented Aug 29, 2024

We moved to Starknet Foundry, for now.

  • We can mock calls and storage, which is good enough for now
  • We can use cairo-coverage and cairo-profiler
  • Still need to explore parametrized and fuzzing in tests
  • Tests are very long to compile & run: up to 3-4 minutes.
  • No diff testing

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request epic Macro-task - Usually a collection of sub-issues
Projects
No open projects
Status: 🆕 Backlog
Development

No branches or pull requests

1 participant