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

.Net: Shared (Cross-Runtime) integration tests for Processes #9550

Merged
merged 27 commits into from
Nov 6, 2024

Conversation

alliscode
Copy link
Member

Motivation and Context

This PR introduces integration tests for Processes that are shared across all runtimes. This will allow us to run the exact same tests using all supported runtimes.

Description

This PR creates a few new projects that are needed to share the integration tests across runtimes.

  • Process.IntegrationTests.Resources contains all the definitions or steps, state, processes, etc. that are used in the shared tests.
  • Process.IntegrationTests.Shared contains all of the shared tests.
  • Process.IntegrationTestRunner.Local is the test project that executes the shared tests against the Local runtime.
  • Process.IntegrationTestRunner.Dapr is the test project that executes the shared tests against the Dapr runtime.
  • Process.IntegrationTestHost.Dapr is the project that hosts Dapr tests in an ASP.NET Core Web API.

The PR enables all of these tests to run locally, a follow up PR will configure these tests to run in the GitHub pipeline.

Contribution Checklist

@alliscode alliscode requested a review from a team as a code owner November 5, 2024 16:51
@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code kernel Issues or pull requests impacting the core kernel documentation labels Nov 5, 2024
@github-actions github-actions bot changed the title .NET: Shared (Cross-Runtime) integration tests for Processes .Net: Shared (Cross-Runtime) integration tests for Processes Nov 5, 2024
@crickman crickman added processes experimental Associated with an experimental feature labels Nov 5, 2024
Copy link
Contributor

@crickman crickman left a comment

Choose a reason for hiding this comment

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

Is there any trick to running this stuff locally? I'd like to leverage for map-step and error handler.

@alliscode alliscode added this pull request to the merge queue Nov 6, 2024
Merged via the queue into microsoft:main with commit c613ae4 Nov 6, 2024
15 checks passed
@alliscode alliscode deleted the process-dapr-tests branch November 6, 2024 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation experimental Associated with an experimental feature kernel Issues or pull requests impacting the core kernel .NET Issue or Pull requests regarding .NET code processes
Projects
Status: Sprint: Done
Development

Successfully merging this pull request may close these issues.

4 participants