Skip to content

chore: enhance testing with updated libraries and new test cases#288

Merged
appleboy merged 3 commits intomasterfrom
container
Apr 12, 2025
Merged

chore: enhance testing with updated libraries and new test cases#288
appleboy merged 3 commits intomasterfrom
container

Conversation

@appleboy
Copy link
Owner

  • Update testify library from v1.8.4 to v1.10.0
  • Add dependency for testcontainers-go library
  • Add various indirect dependencies
  • Include context and fmt packages in test file
  • Add test for SSH connection using testcontainers library

- Update `testify` library from `v1.8.4` to `v1.10.0`
- Add dependency for `testcontainers-go` library
- Add various indirect dependencies
- Include `context` and `fmt` packages in test file
- Add test for SSH connection using `testcontainers` library

Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Add the `strconv` import.
- Replace `fmt.Sprintf` with `strconv.Itoa` for converting UID and GID to string.

Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Update image name in the SSH test from `lscr.io/linuxserver/openssh-server:latest` to `linuxserver/openssh-server:latest`.

Signed-off-by: appleboy <appleboy.tw@gmail.com>
@appleboy appleboy merged commit 13ee473 into master Apr 12, 2025
5 of 7 checks passed
@appleboy appleboy deleted the container branch April 12, 2025 14:21
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.

1 participant