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

tests: adapt testing strategy to leverage snforge feature #881

Merged
merged 13 commits into from
Aug 29, 2024

Conversation

enitrat
Copy link
Contributor

@enitrat enitrat commented Aug 29, 2024

Pull Request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build-related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Resolves: #39
Resolves: #879

What is the new behavior?

  • Migrated all tests in evm to NOT use deployed contracts - the testing strategy relies on setting up the local storage of the test_address with data if required, otherwise simply mocking calls
  • Fixed tests that were ignored after the runner migration
  • Cleared tests not relevant, made some more relevant

Does this introduce a breaking change?

  • Yes
  • No

This change is Reviewable

@enitrat enitrat marked this pull request as ready for review August 29, 2024 14:24
@enitrat enitrat requested a review from ClementWalter as a code owner August 29, 2024 14:24
@enitrat enitrat force-pushed the tests/fix-snfoundry-tests branch from ff82863 to 2f8331b Compare August 29, 2024 14:27
@enitrat enitrat merged commit 2902d76 into main Aug 29, 2024
4 checks passed
@enitrat enitrat deleted the tests/fix-snfoundry-tests branch August 29, 2024 14:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dev: fix unit test migrated to foundry feat: migrate tests from scarb to sn foundry
1 participant