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(gnovm): improve gnovm/pkg/gnolang test coverage #2143

Merged
merged 5 commits into from
May 30, 2024

Commits on May 17, 2024

  1. fix: improve gnovm/pkg/gnolang test coverage from 34.2% to 66.7%

    No new tests have been added yet, but existing tests in
    gnovm/tests/files are now executed in the context of the package which
    contains the relevant interpreter virtual machine and parser code. We
    have now a better baseline to measure and complete the code coverage.
    
    This represents more than 800 tests, which takes 10s on my macbook air
    m1. Those tests are actually run twice, as I haven't yet removed the
    original execution from gnovm/tests.
    
    The testing code is substantially simplified compared to its counterpart
    in gnovm/tests, but has not yet been deduplicated. This will be done in
    further commits.
    mvertes committed May 17, 2024
    Configuration menu
    Copy the full SHA
    5a8e12c View commit details
    Browse the repository at this point in the history

Commits on May 30, 2024

  1. fix: improve gnovm/pkg/gnolang test coverage from 34.2% to 66.7%

    No new tests have been added yet, but existing tests in
    gnovm/tests/files are now executed in the context of the package which
    contains the relevant interpreter virtual machine and parser code. We
    have now a better baseline to measure and complete the code coverage.
    
    This represents more than 800 tests, which takes 10s on my macbook air
    m1. Those tests are actually run twice, as I haven't yet removed the
    original execution from gnovm/tests.
    
    The testing code is substantially simplified compared to its counterpart
    in gnovm/tests, but has not yet been deduplicated. This will be done in
    further commits.
    mvertes committed May 30, 2024
    Configuration menu
    Copy the full SHA
    04cd5aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fd886af View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6c35650 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a8df0d6 View commit details
    Browse the repository at this point in the history