-
Notifications
You must be signed in to change notification settings - Fork 77
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
Fix soroban-test integration tests to make sure the full suite is being run in CI/CD #1682
Comments
Hi @elizabethengelman can i work in this issue? I have experience with rust and testing👋🏻 |
Integration tests were not running properly, as mentioned in this issue. It was caused by help tests exiting suite early with exit code 0, therefore effectively ignoring all other tests.
All failures are addressed and fixed in different PRs:
|
This issue is stale because it has been assigned for 30 days with no activity. It will be closed in 30 days unless the stale label is removed, and the assignee is removed or updated. |
* Fix build tests * revert implementation
@Ifropc is this good to close with your PR merge ? |
This is closed as integration tests PRs are merged. Unit test PR is pending |
This is the PR for this issue #1734 |
I noticed that when running
cargo test --package soroban-test --test it
locally, or in a GH Action, not all of the tests seem to run. The output looks like this:The output doesn't include the final test result including the number of failed and passed tests (i.e.
test result: FAILED, 31 passed; 10 failed;...
), nor does it include the status of all of the config tests, or any of the build, init, plugin, or version tests.After digging a little bit, it seems like something in the
help.rs
file is causing this, though I'm not 100% sure what is going on. It looks likehelp.rs
is potentially capturing the stdout (and maybe stderr too), so that the rest of the test output doesn't make it to the command line.I discovered this because there are a couple of tests that should be failing now, but they aren't.
Repo steps
To see this, comment out the tests in
help.rs
and you'll see that there are some failing tests. I'm not sure if all of them are valid failures, but the error inversion.rs
looks legit.The text was updated successfully, but these errors were encountered: