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: Convert example tests to TestState API #968

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

chfast
Copy link
Member

@chfast chfast commented Aug 8, 2024

No description provided.

@chfast
Copy link
Member Author

chfast commented Aug 8, 2024

If you are working with state tests, there is new TestState API you should be using. The API is actually std::map.

Copy link

codecov bot commented Aug 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.29%. Comparing base (b2d0672) to head (e9aec04).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #968   +/-   ##
=======================================
  Coverage   94.29%   94.29%           
=======================================
  Files         143      143           
  Lines       16131    16132    +1     
=======================================
+ Hits        15210    15211    +1     
  Misses        921      921           
Flag Coverage Δ
eof_execution_spec_tests 16.64% <0.00%> (-0.01%) ⬇️
ethereum_tests 26.93% <0.00%> (-0.01%) ⬇️
ethereum_tests_silkpre 18.69% <0.00%> (-0.01%) ⬇️
execution_spec_tests 17.73% <0.00%> (-0.01%) ⬇️
unittests 89.72% <100.00%> (+<0.01%) ⬆️

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

Files Coverage Δ
test/unittests/state_transition_call_test.cpp 100.00% <100.00%> (ø)

@chfast chfast merged commit c318ab4 into master Aug 8, 2024
26 checks passed
@chfast chfast deleted the test/example_api_update branch August 8, 2024 11:33
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.

2 participants