Skip to content

Stabilize cairo-coverage in respect to the scarb version #157

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

Closed
ksew1 opened this issue Feb 24, 2025 · 0 comments · Fixed by #163, #164, #165 or #166
Closed

Stabilize cairo-coverage in respect to the scarb version #157

ksew1 opened this issue Feb 24, 2025 · 0 comments · Fixed by #163, #164, #165 or #166

Comments

@ksew1
Copy link
Member

ksew1 commented Feb 24, 2025

To ensure consistent coverage reports across all Scarb versions, certain Cairo coverage features will be marked as unstable and will require the --unstable flag to enable. These features include:

  • Coverage for test functions (will become stable after new proc macros).
  • Coverage without macros (will become stable after dropping support for 2.10).
  • Detailed line counters (requires further investigation and fixes).

All other coverage features will guarantee the same output across different Scarb versions.

We will implement tests to verify consistency across the following versions:

  • 2.8.*
  • 2.9.*
  • 2.10.*

Additionally, a policy for Scarb version support will be documented in the repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment