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

Forge doesn't support collecting tests artifacts from some custom tests targets #2567

Open
cptartur opened this issue Oct 7, 2024 · 1 comment · May be fixed by #2570
Open

Forge doesn't support collecting tests artifacts from some custom tests targets #2567

cptartur opened this issue Oct 7, 2024 · 1 comment · May be fixed by #2570
Labels
bug Something isn't working snforge

Comments

@cptartur
Copy link
Member

cptartur commented Oct 7, 2024

Which components does the task require to be changed? (think hard pls)

snforge

Description

See

/// If contract artifacts are produced as part of the test target and exist in both `unittest` and `integrationtest`, then the path to `integrationtest` will be returned.

If someone defines a custom [[test]] target in scarb toml, that doesn't define test-type of integration or unit as we are expecting or doesn't have name in a format we are expecting, we will not collect any contracts to be used in tests.

@cptartur cptartur added bug Something isn't working snforge labels Oct 7, 2024
@github-actions github-actions bot added the new label Oct 7, 2024
@cptartur
Copy link
Member Author

cptartur commented Oct 7, 2024

This is quite an unlikely use case but can technically be done.

@cptartur cptartur linked a pull request Oct 16, 2024 that will close this issue
5 tasks
@cptartur cptartur removed the new label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working snforge
Projects
Status: TODO
Development

Successfully merging a pull request may close this issue.

1 participant