mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
[PR #322] [MERGED] Change test application initialization procedure. #1138
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ElectronNET/Electron.NET/pull/322
Author: @kant2002
Created: 10/14/2019
Status: ✅ Merged
Merged: 11/27/2019
Merged by: @GregorBiswanger
Base:
master← Head:improve-testability📝 Commits (1)
cafffdeChange test application initialization procedure.📊 Changes
1 file changed (+3 additions, -4 deletions)
View changed files
📝
ElectronNET.WebApp/Program.cs(+3 -4)📄 Description
It essentially the same as before, but MVC test tooling expect Program to have CreateWebHostBuilder. I referer to ability to seamlessly use WebApplicationFactory
I understand that story for testing Electron application will be not easy as it is, but this is allow better defaults for testing web applications which can be run in hybrid mode.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.