-
Notifications
You must be signed in to change notification settings - Fork 9
Migrate integration tests from TestServerBuilder to TestWebApplicationFactory #51
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
Open
Krishanthaudayakumara
wants to merge
47
commits into
Sitecore:main
Choose a base branch
from
Krishanthaudayakumara:feat/36-TestWebApplicationFactoryMigration
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 31 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
6ac0dea
Refactored TestWebApplicationFactory usage, updated Pages Fixtures, u…
robearlam 6af9aae
Merge branch 'feat/36-TestWebApplicationFactoryMigration' into feat/3…
Krishanthaudayakumara 197e9e0
Refactored TestWebApplicationFactory usage, updated Pages Fixtures, u…
Krishanthaudayakumara c5f63b7
Migrate ModelBindingFixture.cs
Krishanthaudayakumara d44de35
Migrate ModelBindingErrorHandlingFixture.cs
Krishanthaudayakumara e4890f5
Migrate CustomModelContextBindingFixture.cs
Krishanthaudayakumara 1fbb5a0
Migrate CustomResolverBindingFixture.cs
Krishanthaudayakumara 74fbf45
Migrate ViewFieldsBindingFixture.cs
Krishanthaudayakumara 8d56749
Migrate custom render types fixtures
Krishanthaudayakumara d3317b7
Apply the same file-specific rename pattern to the Binding and Custom…
Krishanthaudayakumara a7443f4
migrate ForwardHeadersToLayoutServiceFixture
Krishanthaudayakumara 5f953d9
Migrate Localization fixtures
Krishanthaudayakumara 381f7f6
Revert "Migrate Localization fixtures"
Krishanthaudayakumara b984d87
Migrate Multisite fixture
Krishanthaudayakumara 07a4c03
Migrate SearchOptimization fixtures
Krishanthaudayakumara 6740448
Migrate TagHelper Fixtures
Krishanthaudayakumara 80e47d8
Migrate RequestHeadersValidationFixture
Krishanthaudayakumara 5f6fecb
Migrate ControllerMiddlewareFixture
Krishanthaudayakumara e67407f
Migrate ErrorHandlingFixture
Krishanthaudayakumara 34535ad
Migrate GlobalMiddlewareFixture
Krishanthaudayakumara f954915
Migrate SitecoreLayoutClientBuilderExtensionsFixture
Krishanthaudayakumara 459624d
Migtrate RequestDefaultsConfigurationFixture
Krishanthaudayakumara ccd8ef7
Remove unused package- RequestDefaultsConfigurationFixture
Krishanthaudayakumara 6eba6ef
Migrate RequestExtensionsFixture
Krishanthaudayakumara 8e5f519
Migrate RequestMappingFixture
Krishanthaudayakumara 7bcfb2f
Migrate Tracking Fixtures
Krishanthaudayakumara 2e6b703
Migrate Localization fixtures
Krishanthaudayakumara b93f305
Restructure methods to fix warnings
Krishanthaudayakumara 1f6c2ed
Migrate ExperienceEditor fixtures
Krishanthaudayakumara 7b07bc7
Migrate Benchmarks tests
Krishanthaudayakumara 09a1244
revert syntax changes
Krishanthaudayakumara 28d9311
Explicitly start the host without creating an unused client
Krishanthaudayakumara a6558e6
test(fixture): reuse TestWebApplicationFactory across integration tests
Krishanthaudayakumara 3c2b7f2
add default response and start TestServer in MultisiteFixture and set…
Krishanthaudayakumara 7750d47
Migrate integration test fixtures to shared TestWebApplicationFactory
Krishanthaudayakumara 8779577
Use the same approach TestServerBuilder used: register a simple mock …
Krishanthaudayakumara 16b6bbc
wire layout service to mock HttpClient in RenderingEngine benchmarks
Krishanthaudayakumara 617f047
Address Copilot reviews - Use the same approach TestServerBuilder used.
Krishanthaudayakumara b585376
use app.Start() in TestWebApplicationProgram
Krishanthaudayakumara 05d4eaf
Add comment explaining variable startedServer
Krishanthaudayakumara 5a6dd01
Use the same layout-service builder pattern previously used in Tracki…
Krishanthaudayakumara 496fa60
Minor change of new line after single line comment
Krishanthaudayakumara f99bd36
Merge pull request #39 - Fixes regarding to Copilot reviews
Krishanthaudayakumara 629695a
use _ = _factory.Server; to clearly indicate the variable is intentio…
Krishanthaudayakumara fb87e28
using the more modern collection expression syntax for consistency i…
Krishanthaudayakumara 0d5ba60
Refactor RequestHeadersValidationFixture to implement similar constru…
Krishanthaudayakumara 0275d1b
Merge pull request #40 Fixes regarding to copilot review
Krishanthaudayakumara File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.