-
Notifications
You must be signed in to change notification settings - Fork 10.3k
[Helix] WebApplicationFactory test needs additional publish files to work on helix #7986
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
Comments
Projects affected by this include:
|
Functional tests are not designed to work against published content. There is extensibility to enable this scenario:
I suggest adding an AssemblyInfo.Helix.cs to Functionaltests for defining the attributes and a FunctionalTests.Helix.targets file for defining the MSBuild for doing the file copy. After that the tests should work provided that shadow copying is disabled. |
Addressed by #27296 |
Currently all of these kinds of tests are disabled on helix because they need to include additional things for these style tests to work
Helix tests are basically just doing a dotnet publish, copying the publish folder over as is, and run via dotnet vstest on helix machines.
These kinds of tests appear to need extra things like deps files, as well as potentially things like related views assemblies, for example:
Basically what we need is a self contained directory that has everything needed to be able to run the tests after publish. Hopefully this is just copying a few additional files from the bin directory?
@mkArtakMSFT @javiercn @pranavkm
The text was updated successfully, but these errors were encountered: