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

Improving E2E testing #1444

Open
wants to merge 35 commits into
base: master
Choose a base branch
from
Open

Conversation

WhitWaldo
Copy link
Contributor

Description

We've got an E2E test that runs through a series of operations against the various Dapr functionalities with a Dapr instance. But we also have all these example projects that themselves are intended to be kept up to date with the evolution of the SDK and when themselves are more easily updated with changes.

This PR represents an idea to perform E2E testing using each of the example projects and their console output. Initially, it runs on ubuntu-linux, but I'd like to extend it to also do testing against Windows as well, much like dapr/quickstarts does.

In practice, a lot of the examples need updating to be both conformant with this testing style and to generally get them up to date with what's available in the SDK, so this test suite will start small and grow as the examples are improved on and expanded.

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

…he example projects

Added tests to the test metadata file 'example-e2e-tests.json'

Signed-off-by: Whit Waldo <[email protected]>
@WhitWaldo WhitWaldo added this to the v1.16 milestone Jan 14, 2025
@WhitWaldo WhitWaldo self-assigned this Jan 14, 2025
@WhitWaldo WhitWaldo requested review from a team as code owners January 14, 2025 21:54
…o validate 'stderr' messages at some future point

Signed-off-by: Whit Waldo <[email protected]>
Signed-off-by: Whit Waldo <[email protected]>
Signed-off-by: Whit Waldo <[email protected]>
Signed-off-by: Whit Waldo <[email protected]>
Signed-off-by: Whit Waldo <[email protected]>
Signed-off-by: Whit Waldo <[email protected]>
Signed-off-by: Whit Waldo <[email protected]>
Signed-off-by: Whit Waldo <[email protected]>
…o make it match the expected value to pass into dotnet run statement as --framework

Signed-off-by: Whit Waldo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant