Skip to content

Commit 11189e3

Browse files
committed
re-org some content
1 parent f094934 commit 11189e3

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ This sample demonstrates techniques for using Testspace with C# code and the [NU
88
***
99
Build using AppVeyor's Online CI:
1010

11-
[![Build status](https://ci.appveyor.com/api/projects/status/x76ee4x2hc84l55a?svg=true)](https://ci.appveyor.com/project/jeffs-s2/csharp-nunit)
11+
[![Build status](https://ci.appveyor.com/api/projects/status/78g1co48hr5xq7wd?svg=true)](https://ci.appveyor.com/project/munderseth/csharp-nunit-mffbo)
12+
1213
***
1314
Publishing **Test Content** using www.testspace.com.
1415

@@ -24,28 +25,27 @@ In order to run this sample you will need a host workstation with Visual Studio,
2425
Building with static analysis:
2526

2627
<pre>
27-
msbuild money/cs-money.csproj /p:runCodeAnalysis=true /p:codeanalysislogfile=StaticAnalysis.xml
28+
msbuild money\cs-money.csproj /p:platform=anycpu /p:configuration=debug /p:runCodeAnalysis=true /p:codeanalysislogfile=..\analysis.xml
2829
</pre>
2930
Running tests with code coverage:
3031

3132
<pre>
32-
OpenCover.Console.exe -target:nunit3-console.exe -targetargs:cs-money.dll -output:codecoverage.xml -register:user
33-
33+
OpenCover.Console -target:"nunit3-console.exe" -targetargs:"cs-money.dll" -output:"coverage.xml" -filter:"+[*]* -[*]*MoneyTest*" -register:user
3434
</pre>
3535

36-
Publishing Results using **Testspace** in powershell:
36+
Publishing Test Content using **Testspace**:
3737

3838
<pre>
39-
wget https://testspace-client.s3.amazonaws.com/testspace-windows.zip -outfile .\money\packages\testspace.zip
40-
extract to preferred location
41-
testspace .\testresult.xml .\coverage.xml money\staticanalysis.xml ${ENV:TESTSPACE_TOKEN}/${ENV:BRANCH_NAME}
39+
curl -fsS -o testspace-windows.zip https://testspace-client.s3.amazonaws.com/testspace-windows.zip
40+
7z x -y .\testspace-windows.zip
41+
estspace publish analysis.xml [Tests]TestResult.xml coverage.xml "master"
4242
</pre>
4343

44-
Checkout the [Space](https://samples.testspace.com/projects/csharp/spaces/nunit).
44+
Checkout the [Testspace Project](https://samples.testspace.com/projects/csharp.nunit).
4545

4646
To fork this example using AppVeyor requires:
4747
- Account at www.testspace.com.
4848
- AppVeyor Environment Variable:
49-
- `TESTSPACE_URL` = `credentials:@my-org-name.testspace.com/my-project/my-space`
49+
- `TESTSPACE_TOKEN` = `credentials:@my-org-name.testspace.com/my-project`
5050
- `credentials` set to `username:password` or your [access token](http://help.testspace.com/using-your-organization:user-settings).
51-
- `my-org-name.testspace.com/my-project/my-space` based on your subdomain, project, and space names. Refer [here](http://help.testspace.com/reference:runner-reference#login-credentials) for more details.
51+
- `my-org-name.testspace.com/my-project` based on your subdomain, and project names. Refer [here](http://help.testspace.com/reference:runner-reference#login-credentials) for more details.

0 commit comments

Comments
 (0)