Skip to content

Commit 5021dbc

Browse files
committed
chore: initial commit.
0 parents  commit 5021dbc

34 files changed

+2013
-0
lines changed

.gitignore

+334
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,334 @@
1+
## Ignore Visual Studio temporary files, build results, and
2+
## files generated by popular Visual Studio add-ons.
3+
##
4+
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5+
6+
# User-specific files
7+
*.suo
8+
*.user
9+
*.userosscache
10+
*.sln.docstates
11+
12+
# User-specific files (MonoDevelop/Xamarin Studio)
13+
*.userprefs
14+
15+
# Build results
16+
[Dd]ebug/
17+
[Dd]ebugPublic/
18+
[Rr]elease/
19+
[Rr]eleases/
20+
x64/
21+
x86/
22+
bld/
23+
[Bb]in/
24+
[Oo]bj/
25+
[Ll]og/
26+
27+
# Test results
28+
**/test-results.xml
29+
**/test-results.json
30+
31+
# Visual Studio 2015/2017 cache/options directory
32+
.vs/
33+
# Uncomment if you have tasks that create the project's static files in wwwroot
34+
#wwwroot/
35+
36+
# Visual Studio 2017 auto generated files
37+
Generated\ Files/
38+
39+
# MSTest test Results
40+
[Tt]est[Rr]esult*/
41+
[Bb]uild[Ll]og.*
42+
43+
# NUNIT
44+
*.VisualState.xml
45+
TestResult.xml
46+
47+
# Build Results of an ATL Project
48+
[Dd]ebugPS/
49+
[Rr]eleasePS/
50+
dlldata.c
51+
52+
# Benchmark Results
53+
BenchmarkDotNet.Artifacts/
54+
55+
# .NET Core
56+
project.lock.json
57+
project.fragment.lock.json
58+
artifacts/
59+
**/Properties/launchSettings.json
60+
61+
# StyleCop
62+
StyleCopReport.xml
63+
64+
# Files built by Visual Studio
65+
*_i.c
66+
*_p.c
67+
*_i.h
68+
*.ilk
69+
*.meta
70+
*.obj
71+
*.iobj
72+
*.pch
73+
*.pdb
74+
*.ipdb
75+
*.pgc
76+
*.pgd
77+
*.rsp
78+
*.sbr
79+
*.tlb
80+
*.tli
81+
*.tlh
82+
*.tmp
83+
*.tmp_proj
84+
*.log
85+
*.vspscc
86+
*.vssscc
87+
.builds
88+
*.pidb
89+
*.svclog
90+
*.scc
91+
92+
# Chutzpah Test files
93+
_Chutzpah*
94+
95+
# Visual C++ cache files
96+
ipch/
97+
*.aps
98+
*.ncb
99+
*.opendb
100+
*.opensdf
101+
*.sdf
102+
*.cachefile
103+
*.VC.db
104+
*.VC.VC.opendb
105+
106+
# Visual Studio profiler
107+
*.psess
108+
*.vsp
109+
*.vspx
110+
*.sap
111+
112+
# Visual Studio Trace Files
113+
*.e2e
114+
115+
# TFS 2012 Local Workspace
116+
$tf/
117+
118+
# Guidance Automation Toolkit
119+
*.gpState
120+
121+
# ReSharper is a .NET coding add-in
122+
_ReSharper*/
123+
*.[Rr]e[Ss]harper
124+
*.DotSettings.user
125+
126+
# JustCode is a .NET coding add-in
127+
.JustCode
128+
129+
# TeamCity is a build add-in
130+
_TeamCity*
131+
132+
# DotCover is a Code Coverage Tool
133+
*.dotCover
134+
135+
# AxoCover is a Code Coverage Tool
136+
.axoCover/*
137+
!.axoCover/settings.json
138+
139+
# Visual Studio code coverage results
140+
*.coverage
141+
*.coveragexml
142+
143+
# NCrunch
144+
_NCrunch_*
145+
.*crunch*.local.xml
146+
nCrunchTemp_*
147+
148+
# MightyMoose
149+
*.mm.*
150+
AutoTest.Net/
151+
152+
# Web workbench (sass)
153+
.sass-cache/
154+
155+
# Installshield output folder
156+
[Ee]xpress/
157+
158+
# DocProject is a documentation generator add-in
159+
DocProject/buildhelp/
160+
DocProject/Help/*.HxT
161+
DocProject/Help/*.HxC
162+
DocProject/Help/*.hhc
163+
DocProject/Help/*.hhk
164+
DocProject/Help/*.hhp
165+
DocProject/Help/Html2
166+
DocProject/Help/html
167+
168+
# Click-Once directory
169+
publish/
170+
171+
# Publish Web Output
172+
*.[Pp]ublish.xml
173+
*.azurePubxml
174+
# Note: Comment the next line if you want to checkin your web deploy settings,
175+
# but database connection strings (with potential passwords) will be unencrypted
176+
*.pubxml
177+
*.publishproj
178+
179+
# Microsoft Azure Web App publish settings. Comment the next line if you want to
180+
# checkin your Azure Web App publish settings, but sensitive information contained
181+
# in these scripts will be unencrypted
182+
PublishScripts/
183+
184+
# NuGet Packages
185+
*.nupkg
186+
# The packages folder can be ignored because of Package Restore
187+
**/[Pp]ackages/*
188+
# except build/, which is used as an MSBuild target.
189+
!**/[Pp]ackages/build/
190+
# Uncomment if necessary however generally it will be regenerated when needed
191+
#!**/[Pp]ackages/repositories.config
192+
# NuGet v3's project.json files produces more ignorable files
193+
*.nuget.props
194+
*.nuget.targets
195+
196+
# Microsoft Azure Build Output
197+
csx/
198+
*.build.csdef
199+
200+
# Microsoft Azure Emulator
201+
ecf/
202+
rcf/
203+
204+
# Windows Store app package directories and files
205+
AppPackages/
206+
BundleArtifacts/
207+
Package.StoreAssociation.xml
208+
_pkginfo.txt
209+
*.appx
210+
211+
# Visual Studio cache files
212+
# files ending in .cache can be ignored
213+
*.[Cc]ache
214+
# but keep track of directories ending in .cache
215+
!*.[Cc]ache/
216+
217+
# Others
218+
ClientBin/
219+
~$*
220+
*~
221+
*.dbmdl
222+
*.dbproj.schemaview
223+
*.jfm
224+
*.pfx
225+
*.publishsettings
226+
orleans.codegen.cs
227+
228+
# Including strong name files can present a security risk
229+
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
230+
#*.snk
231+
232+
# Since there are multiple workflows, uncomment next line to ignore bower_components
233+
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
234+
#bower_components/
235+
236+
# RIA/Silverlight projects
237+
Generated_Code/
238+
239+
# Backup & report files from converting an old project file
240+
# to a newer Visual Studio version. Backup files are not needed,
241+
# because we have git ;-)
242+
_UpgradeReport_Files/
243+
Backup*/
244+
UpgradeLog*.XML
245+
UpgradeLog*.htm
246+
ServiceFabricBackup/
247+
*.rptproj.bak
248+
249+
# SQL Server files
250+
*.mdf
251+
*.ldf
252+
*.ndf
253+
254+
# Business Intelligence projects
255+
*.rdl.data
256+
*.bim.layout
257+
*.bim_*.settings
258+
*.rptproj.rsuser
259+
260+
# Microsoft Fakes
261+
FakesAssemblies/
262+
263+
# GhostDoc plugin setting file
264+
*.GhostDoc.xml
265+
266+
# Node.js Tools for Visual Studio
267+
.ntvs_analysis.dat
268+
node_modules/
269+
270+
# Visual Studio 6 build log
271+
*.plg
272+
273+
# Visual Studio 6 workspace options file
274+
*.opt
275+
276+
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
277+
*.vbw
278+
279+
# Visual Studio LightSwitch build output
280+
**/*.HTMLClient/GeneratedArtifacts
281+
**/*.DesktopClient/GeneratedArtifacts
282+
**/*.DesktopClient/ModelManifest.xml
283+
**/*.Server/GeneratedArtifacts
284+
**/*.Server/ModelManifest.xml
285+
_Pvt_Extensions
286+
287+
# Paket dependency manager
288+
.paket/paket.exe
289+
paket-files/
290+
291+
# FAKE - F# Make
292+
.fake/
293+
294+
# JetBrains Rider
295+
.idea/
296+
*.sln.iml
297+
298+
# CodeRush
299+
.cr/
300+
301+
# Python Tools for Visual Studio (PTVS)
302+
__pycache__/
303+
*.pyc
304+
305+
# Cake - Uncomment if you are using it
306+
# tools/**
307+
# !tools/packages.config
308+
309+
# Tabs Studio
310+
*.tss
311+
312+
# Telerik's JustMock configuration file
313+
*.jmconfig
314+
315+
# BizTalk build output
316+
*.btp.cs
317+
*.btm.cs
318+
*.odx.cs
319+
*.xsd.cs
320+
321+
# OpenCover UI analysis results
322+
OpenCover/
323+
324+
# Azure Stream Analytics local run output
325+
ASALocalRun/
326+
327+
# MSBuild Binary and Structured Log
328+
*.binlog
329+
330+
# NVidia Nsight GPU debugger configuration file
331+
*.nvuser
332+
333+
# MFractors (Xamarin productivity tool) working folder
334+
.mfractor/

.vscode/tasks.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"label": "build",
8+
"command": "dotnet",
9+
"type": "shell",
10+
"args": [
11+
"build",
12+
// Ask dotnet build to generate full paths for file names.
13+
"/property:GenerateFullPaths=true",
14+
// Do not generate summary otherwise it leads to duplicate errors in Problems panel
15+
"/consoleloggerparameters:NoSummary"
16+
],
17+
"group": "build",
18+
"presentation": {
19+
"reveal": "silent"
20+
},
21+
"problemMatcher": "$msCompile"
22+
}
23+
]
24+
}

README.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Test Logger
2+
Common test logger abstractions for [Visual Studio Test Platform](https://gtihub.com/microsoft/vstest).
3+
4+
Work in progress.
5+
6+
[![Build Status](https://travis-ci.com/spekt/testlogger.svg?branch=master)](https://travis-ci.com/spekt/testlogger)
7+
[![Build status](https://ci.appveyor.com/api/projects/status/73iw12g89lhlr9ir?svg=true)](https://ci.appveyor.com/project/spekt/testlogger)
8+
9+
## Packages
10+
TODO
11+
<!--
12+
| Logger | Stable Package | Pre-release Package |
13+
| ------ | -------------- | ------------------- |
14+
| Xunit | [![NuGet](https://img.shields.io/nuget/v/XunitXml.TestLogger.svg)](https://www.nuget.org/packages/XunitXml.TestLogger/) | [![MyGet Pre Release](https://img.shields.io/myget/spekt/vpre/xunitxml.testlogger.svg)](https://www.myget.org/feed/spekt/package/nuget/XunitXml.TestLogger) |
15+
-->
16+
17+
## License
18+
MIT

build.ps1

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
dotnet pack
2+
if ($?) {
3+
dotnet test test/TestLogger.UnitTests/TestLogger.UnitTests.csproj
4+
}
5+
if ($?) {
6+
dotnet test test/TestLogger.AcceptanceTests/TestLogger.AcceptanceTests.csproj
7+
}

build.sh

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env sh
2+
# vi: set tw=0
3+
4+
dotnet pack &&\
5+
dotnet test test/TestLogger.UnitTests/TestLogger.UnitTests.csproj &&\
6+
dotnet test test/TestLogger.AcceptanceTests/TestLogger.AcceptanceTests.csproj

0 commit comments

Comments
 (0)