-
Notifications
You must be signed in to change notification settings - Fork 180
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
Building up E2E Tests for ORAS #523
Labels
E2E testing
End-to-end testing related issues or pull requests
Milestone
Comments
@shizhMSFT Can you assign this to me, thanks. |
The work items of E2E tests are listed out as below: Infrastructure
Utility package for writing E2E tests
Sample Tests (oras artifact tests will be after OCI artifact is supported)
Documentation |
This was referenced Sep 12, 2022
FeynmanZhou
added
the
E2E testing
End-to-end testing related issues or pull requests
label
Sep 14, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discussed in #485
Originally posted by qweeah August 9, 2022
What is Needed
End-to-end tests that continuously validate the functional correctness of oras features.
Why it's Needed
How to
Setup Test Environment
The E2E tests should run against oras CLI binary with oras-distribution as the backend.
Choose Test Framework
Technically, there are two different directions of tools we use to build E2E test suite:
1) Use golang-native test framework to run test based on Cobra command execution calls
ginkgo + gomega
2) Use common Behaviour-Driven Development (BDD) tools to test the built out binary
Gherkin + godog
Both options provides expressive assertion that can meet oras' testing need.
Future Works
Below items are valuable but not in scope of this discussion:
If you have any other ideas or suggestions on building the E2E test suite for oras, feel free to response below. Any comments are highly appreciated 🍻
The text was updated successfully, but these errors were encountered: