From 1b6f13d2ed68f007dc38d7a40ef57e674a6238c5 Mon Sep 17 00:00:00 2001 From: Safia Abdalla Date: Fri, 8 May 2020 17:39:10 -0700 Subject: [PATCH] Add docs on HelixContent property (#21595) * Add docs on HelixContent property * Add content on Link and LinkBase attributes --- docs/Helix.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/docs/Helix.md b/docs/Helix.md index a7e759cb42..660b0b52f0 100644 --- a/docs/Helix.md +++ b/docs/Helix.md @@ -49,7 +49,25 @@ dotnet vstest My.Tests.dll If that doesn't help, you can try the Get Repro environment link from mission control and try to debug that way. ## Differences from running tests locally -Most tests that don't just work on helix automatically are ones that depend on the source code being accessible. The helix payloads only contain whatever is in the publish directories, so any thing else that test depends on will need to be included to the payload (TBD how to do this). +Most tests that don't just work on helix automatically are ones that depend on the source code being accessible. The helix payloads only contain whatever is in the publish directories, so any thing else that test depends on will need to be included to the payload. + +This can be accomplished by using the `HelixContent` property like so. + +``` + + + + +``` + +By default, these files will be included in the root directory. To include these files in a different directory, you can use either the `Link` or `LinkBase` attributes to set the included path. + +``` + + + + +``` ## How to skip tests on helix There are two main ways to opt out of helix