Skip to content

Commit

Permalink
Merge branch 'master' into issue-529
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/NUnitTestAdapter/NUnit3TestExecutor.cs
#	src/NUnitTestAdapter/NUnitTestAdapter.cs
  • Loading branch information
Matthew Beardmore committed Jul 17, 2019
2 parents 184536a + 7b332ff commit 687a81e
Show file tree
Hide file tree
Showing 81 changed files with 3,481 additions and 1,142 deletions.
16 changes: 15 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/.acceptance/


## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

Expand Down Expand Up @@ -315,4 +318,15 @@ tools/
!tools/packages.config

# .NET Core
.dotnet/
.dotnet/

# VisualStudioCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# VisualStudioCode Patch
# Ignore all local history of files
.history
31 changes: 31 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Build",
"type": "shell",
"command": "./build.ps1 -t Build",
"windows": {
"command": ".\\build.cmd -t Build"
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Test",
"type": "shell",
"command": "./build.ps1 -t Test",
"windows": {
"command": ".\\build.cmd -t Test"
},
"group": {
"kind": "test",
"isDefault": true
}
}
]
}
6 changes: 3 additions & 3 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Project maintainers who do not follow or enforce the Code of Conduct in good fai

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [https://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
[homepage]: https://contributor-covenant.org
[version]: https://contributor-covenant.org/version/1/4/
5 changes: 5 additions & 0 deletions KeepWorkspaces.runsettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<RunSettings>
<TestRunParameters>
<Parameter name="KeepWorkspaces" value="true" />
</TestRunParameters>
</RunSettings>
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2011-2017 Charlie Poole, 2014-2017 Terje Sandstrom
Copyright (c) 2011-2019 Charlie Poole, 2014-2019 Terje Sandstrom

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
27 changes: 25 additions & 2 deletions NUnit3TestAdapter.sln
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27130.2026
# Visual Studio Version 16
VisualStudioVersion = 16.0.28606.126
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{7CE30108-5D81-4850-BE6B-C8BCA35D3592}"
ProjectSection(SolutionItems) = preProject
acceptance.cake = acceptance.cake
appveyor.yml = appveyor.yml
build.cake = build.cake
build.cmd = build.cmd
build.ps1 = build.ps1
src\Common.props = src\Common.props
DisableAppDomain.runsettings = DisableAppDomain.runsettings
lib.cake = lib.cake
LICENSE.txt = LICENSE.txt
src\native-assembly\NativeTests.dll = src\native-assembly\NativeTests.dll
NuGet.Config = NuGet.Config
Osiris.Extended.ruleset = Osiris.Extended.ruleset
README.md = README.md
Simple.runsettings = Simple.runsettings
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "nuget", "nuget", "{DE347D88-F6ED-4031-AFC2-318F63E39BC9}"
Expand All @@ -36,6 +40,17 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NUnit3TestAdapterInstall",
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NUnit3AdapterExternalTests", "src\NUnit3AdapterExternalTests\NUnit3AdapterExternalTests.csproj", "{A4EA819A-D77D-46D3-B2B7-2C754DBD2BC7}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "net35", "net35", "{D41249E3-C080-4B66-8CBD-99CE4D309A10}"
ProjectSection(SolutionItems) = preProject
nuget\net35\NUnit3TestAdapter.props = nuget\net35\NUnit3TestAdapter.props
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "netcoreapp1.0", "netcoreapp1.0", "{A9584E41-6ECE-44B4-A504-41795A65DA5F}"
ProjectSection(SolutionItems) = preProject
nuget\netcoreapp1.0\NUnit3TestAdapter.props = nuget\netcoreapp1.0\NUnit3TestAdapter.props
EndProjectSection
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NUnit.TestAdapter.Tests.Acceptance", "src\NUnit.TestAdapter.Tests.Acceptance\NUnit.TestAdapter.Tests.Acceptance.csproj", "{3FAC7EE0-664F-4B11-918B-8E0FF865EE4C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -66,10 +81,18 @@ Global
{A4EA819A-D77D-46D3-B2B7-2C754DBD2BC7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A4EA819A-D77D-46D3-B2B7-2C754DBD2BC7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A4EA819A-D77D-46D3-B2B7-2C754DBD2BC7}.Release|Any CPU.Build.0 = Release|Any CPU
{3FAC7EE0-664F-4B11-918B-8E0FF865EE4C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3FAC7EE0-664F-4B11-918B-8E0FF865EE4C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3FAC7EE0-664F-4B11-918B-8E0FF865EE4C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3FAC7EE0-664F-4B11-918B-8E0FF865EE4C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{D41249E3-C080-4B66-8CBD-99CE4D309A10} = {DE347D88-F6ED-4031-AFC2-318F63E39BC9}
{A9584E41-6ECE-44B4-A504-41795A65DA5F} = {DE347D88-F6ED-4031-AFC2-318F63E39BC9}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {8EF03474-188E-44A8-8C76-9FBCF9A382EC}
EndGlobalSection
Expand Down
2 changes: 1 addition & 1 deletion NUnit3TestAdapter.sln.DotSettings
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateInstanceFields/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /&gt;</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateInstanceFields/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb" /&gt;</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateStaticFields/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /&gt;</s:String></wpf:ResourceDictionary>
29 changes: 26 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,38 @@ The NUnit 3 Test Adapter runs NUnit 3.x tests in Visual Studio 2012 and newer.

This adapter works with NUnit 3.0 and higher only. Use the NUnit 2 Adapter to run NUnit 2.x tests.

You can download the latest release version ![](https://img.shields.io/github/release-date/nunit/nunit3-vs-adapter.svg?style=flat)

[![NuGet Version](https://img.shields.io/nuget/v/NUnit3TestAdapter.svg)](https://www.nuget.org/packages/NUnit3TestAdapter) ![](https://img.shields.io/nuget/dt/NUnit3TestAdapter.svg?style=flat)

or the latest pre-release version

[![MyGet version](https://img.shields.io/myget/nunit/vpre/NUnit3TestAdapter.svg?label=Myget%3A%20Latest%20pre-release&style=flat)](https://www.myget.org/feed/nunit/package/nuget/NUnit3TestAdapter)

##### Builds on master
[![Cake build](https://img.shields.io/azure-devops/build/nunit/9d7ec8eb-1a1a-4fff-a88f-43bcdceb5f33/12.svg)](https://nunit.visualstudio.com/NUnit/_build?definitionId=12&_a=completed)
[![VS Build](https://img.shields.io/azure-devops/build/nunit/9d7ec8eb-1a1a-4fff-a88f-43bcdceb5f33/4.svg)](https://nunit.visualstudio.com/NUnit/_build?definitionId=4&_a=completed)
![Tests](https://img.shields.io/azure-devops/tests/nunit/nunit/4.svg?style=flat)
![Coverage](https://img.shields.io/azure-devops/coverage/nunit/nunit/4.svg?style=flat)

##### Support

Ask support questions [![Chat](https://img.shields.io/gitter/room/nunit/nunit.svg?style=flat)](https://gitter.im/nunit/nunit)
or raise an issue [![](https://img.shields.io/github/issues/nunit/NUnit3-vs-Adapter.svg?style=flat)](https://github.com/nunit/nunit3-vs-adapter/issues)

## License ##

The NUnit 3 Test Adapter is Open Source software released under the [MIT license](http://www.nunit.org/nuget/nunit3-license.txt).

The NUnit 3 Test Adapter is Open Source software released under the [![](https://img.shields.io/github/license/nunit/nunit3-vs-adapter.svg?style=flat)](https://nunit.org/nuget/nunit3-license.txt).


## Developing

Visual Studio 2017 is required to build the adapter.

Use `.\build -t test` at the command line to run complete tests.
Use `.\build -t test` at the command line to build and run complete tests.

To create a package use `.\build -t package`

To run and debug tests on .NET Framework, load `DisableAppDomain.runsettings`.

Expand All @@ -32,4 +55,4 @@ If you’re in the middle of a debugging session and realize you’d like to be
set breakpoints and watch variables, [follow these steps](https://github.com/nunit/docs/wiki/Adapter-Source-Stepping).

## Announcement
From version 3.9 the NUnit3TestAdapter will stop supporting Visual Studio 2012 RTM (!), note only RTM, the later updates will still be supported fully. If you're using VS 2012 and want to update NUnit3TestAdapter, please update your Visual Studio RTM to any of the subsequent updates (Update 1-5)
From version 3.9 the NUnit3TestAdapter will stop supporting Visual Studio 2012 RTM (!), note only RTM, the later updates will still be supported fully. If you're using VS 2012 and want to update NUnit3TestAdapter, please update your Visual Studio RTM to any of the subsequent updates (Update 1-5)
52 changes: 52 additions & 0 deletions Simple.runsettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<RunSettings>
<RunConfiguration>
<!-- 0 = As many processes as possible, limited by number of cores on machine, 1 = Sequential (1 process), 2-> Given number of processes up to limit by number of cores on machine-->
<MaxCpuCount>0</MaxCpuCount>
</RunConfiguration>

<!--
<TestRunParameters>
<Parameter name="webAppUrl" value="http://localhost" />
<Parameter name="webAppUserName" value="Admin" />
</TestRunParameters>
-->

<!-- Adapter Specific sections -->

<!-- MSTest adapter -->
<MSTest>
<MapInconclusiveToFailed>True</MapInconclusiveToFailed>
<CaptureTraceOutput>false</CaptureTraceOutput>
<DeleteDeploymentDirectoryAfterTestRunIsComplete>False</DeleteDeploymentDirectoryAfterTestRunIsComplete>
<DeploymentEnabled>False</DeploymentEnabled>
<!-- Uncomment and update path for assembly resolution -->
<!-- <AssemblyResolution>
<Directory path="D:\myfolder\bin\" includeSubDirectories="false"/>
</AssemblyResolution> -->
</MSTest>

<!-- NUnit3 adapter, uncomment to set as appropriate, numeric, booleans, enums have their default values below, except RandomSeed -->
<!--
<NUnit>
<BasePath>D:\Dev\NUnit\nunit3-vs-adapter\demo\NUnitTestDemo\bin\Release</BasePath>
<PrivateBinPath>extras;more.extras</PrivateBinPath>
<DefaultTimeout>0</DefaultTimeout>
<WorkDirectory>work</WorkDirectory>
<InternalTraceLevel>Off</InternalTraceLevel>
<RandomSeed>1234567</RandomSeed>
<NumberOfTestWorkers>-1</NumberOfTestWorkers>
<Verbosity>0</Verbosity>
<UseVsKeepEngineRunning>false</UseVsKeepEngineRunning>
<ShadowCopyFiles>false</ShadowCopyFiles>
<DefaultTestNamePattern>{m}{a}</DefaultTestNamePattern>
</NUnit>
-->

<NUnit>
<Verbosity>0</Verbosity>
</NUnit>


</RunSettings>

46 changes: 0 additions & 46 deletions acceptance.cake

This file was deleted.

Loading

0 comments on commit 687a81e

Please sign in to comment.