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 integration tests for package dependencies #1144

Merged
merged 12 commits into from
Nov 13, 2024

Conversation

michael-weng
Copy link
Contributor

  • Verify various contract calls with spm
  • Exercises use local version workflow

Issue: #1052

src/commands.ts Outdated Show resolved Hide resolved
src/commands/utilities.ts Outdated Show resolved Hide resolved
@michael-weng michael-weng force-pushed the local_dep_itest branch 3 times, most recently from fb053bf to 435210e Compare October 31, 2024 18:44
@michael-weng michael-weng force-pushed the local_dep_itest branch 3 times, most recently from 1c2b660 to bb37883 Compare November 5, 2024 16:51
Copy link
Contributor

@award999 award999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise looks good

test/integration-tests/commands/dependency.test.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@award999 award999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still unresolved comment

- Verify various contract calls with spm
- Exercises use local version workflow

Issue: swiftlang#1052
- Switch to assert directly on executeCommand return
- Move tests to a more appropriate location under integration-tests/commands
- Rename to CONSTANT_CASE for module level enums' value
between toolchains above 5.9 and 5.9 + below.
- Move to a spot where spm update is guranteed to return 0, after
local dependency is fully set up.
- Unified return for the dependencies command to return boolean
@award999 award999 merged commit e71bbfa into swiftlang:main Nov 13, 2024
15 checks passed
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.

3 participants