Skip to content

execution-plan: Use snapshot tests for program memory#35

Merged
adamchalmers merged 1 commit intomainfrom
achalmers/snapshot-tests-memory
Dec 18, 2023
Merged

execution-plan: Use snapshot tests for program memory#35
adamchalmers merged 1 commit intomainfrom
achalmers/snapshot-tests-memory

Conversation

@adamchalmers
Copy link
Collaborator

This saves a "snapshot" of program memory (visualized as a table) into the repo. When you rerun the "draw cube via API" unit test, it'll compare the snapshot to what's on disk and fail if there's a change (like expectorate or twenty-twenty).

Use cargo insta review for reviewing changes and accepting/rejecting them.

This saves a "snapshot" of program memory (visualized as a table) into the repo. When you rerun the "draw cube via API" unit test, it'll compare the snapshot to what's on disk and fail if there's a change (like expectorate or twenty-twenty).

Use `cargo insta review` for reviewing changes and accepting/rejecting them.
@codecov
Copy link

codecov bot commented Dec 18, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (main@9835418). Click here to learn what that means.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #35   +/-   ##
=======================================
  Coverage        ?   44.08%           
=======================================
  Files           ?       29           
  Lines           ?     1826           
  Branches        ?        0           
=======================================
  Hits            ?      805           
  Misses          ?     1021           
  Partials        ?        0           
Flag Coverage Δ
unittests 44.08% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@adamchalmers adamchalmers merged commit 0452e25 into main Dec 18, 2023
@adamchalmers adamchalmers deleted the achalmers/snapshot-tests-memory branch December 18, 2023 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant