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

Add support for loading the contract module under test #431

Merged
merged 6 commits into from
May 28, 2024

Conversation

lassemoldrup
Copy link
Contributor

@lassemoldrup lassemoldrup commented May 14, 2024

Purpose

Closes #383. Depends on Concordium/concordium-smart-contract-tools#167.

Changes

Reads the environment variable set by cargo-concordium though the convenience function module_load_output. This also means that the user needs to update cargo-concordium.

Checklist

  • My code follows the style of this project.
  • The code compiles without warnings.
  • I have performed a self-review of the changes.
  • I have documented my code, in particular the intent of the
    hard-to-understand areas.
  • (If necessary) I have updated the CHANGELOG.

contract-testing/src/impls.rs Outdated Show resolved Hide resolved
contract-testing/src/impls.rs Outdated Show resolved Hide resolved
contract-testing/CHANGELOG.md Outdated Show resolved Hide resolved
contract-testing/src/impls.rs Outdated Show resolved Hide resolved
contract-testing/src/constants.rs Outdated Show resolved Hide resolved
@lassemoldrup lassemoldrup merged commit a4c56f9 into main May 28, 2024
142 checks passed
@lassemoldrup lassemoldrup deleted the load-module-under-test branch May 28, 2024 08:43
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.

cargo concordium test should expose the location of the module
2 participants