You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[tests] Misc improvements for workload based tests (dotnet#4093)
* [tests] Fix deploying per-test .runsettings
* [tests] helix: cleanup, and install devcerts on helix
- uses scripts from
`https://github.com/BorisWilhelms/create-dotnet-devcert` on linux
* [tests] BuildEnvironment: cleanup, and add support for TFMs
- so tests have a different setup per tfm (net8.0/net9.0/..)
* [tests] Misc improvements, and more error checking
* [tests] Add tests/workloads.proj to allow installing sdk+workload
* cleanup
* Remove old unused property
* Rename SolutionRoot to RepoRoot - feedback from @ eerhardt
* address review feedback from @ eehardt
* Make AspireProject.AppExited nullable
* address review feedback from @ eerhardt
* Move BuildEnvironment.TestsProjectPath to EndToEnd tests since it is e2e specific
* disambiguate logs path
* Cleanup setting testasssets path for E2E tests
* BuildEnvironment: when using system dotnet, don't override NUGET_PACKAGES path
* EndToEnd tests: copy .editorconfig also, to get the analyzer warning ignores
* cleanup
* EndToEnd tests: always build with TestsRunningOutsideOfRepo=true on CI
* address review feedback from @ eerhardt
* simple cleanup
* Rename AspireProject.{Start,Stop}Async to {Start,Stop}AppHostAsync
---------
Co-authored-by: Eric Erhardt <[email protected]>
Copy file name to clipboardexpand all lines: tests/README.md
+9-2
Original file line number
Diff line number
Diff line change
@@ -2,5 +2,12 @@
2
2
3
3
The helix CI job builds `tests/helix/send-to-helix-ci.proj`, which in turns builds the `Test` target on `tests/helix/send-to-helix-inner.proj`. This inner project uses the Helix SDK to construct `@(HelixWorkItem)`s, and send them to helix to run.
4
4
5
-
-`tests/helix/send-to-helix-basic-tests.targets` - this prepares all the tests that don't need special preparation
6
-
-`tests/helix/send-to-helix-workload-tests.targets` - this is for tests that require a sdk+workload installed
5
+
-`tests/helix/send-to-helix-basictests.targets` - this prepares all the tests that don't need special preparation
6
+
-`tests/helix/send-to-helix-endtoend-tests.targets` - this is for tests that require a sdk+workload installed
7
+
8
+
## Install sdk+workload from artifacts
9
+
10
+
1.`.\build.cmd -pack`
11
+
2.`dotnet build tests\workloads.proj`
12
+
13
+
.. which results in `artifacts\bin\dotnet-latest` which has a sdk (version from `global.json`) with the `aspire` workload installed using packs from `artifacts/packages`.
0 commit comments