Skip to content

Commit a87db00

Browse files
neparijqameta-ciundronoverlordКабанов Константин Юрьевич
authored
2.10 update (#398)
* Adds AllureBefore and AllureAfter to Allure.NUnit package * NUnit: Ability to change testresult on fixture executions * Preserve testResult.start time if it exists in update container * SpecFlowNunit: add custom labels * Fix missing output attachments in NUnit adapter * Added step logging for NUnit (closes #312) * Fixed NullPointerException if NUnit StepLogger was null (#315) * embed untracked sources * build process update * NUnit Fix async behaviour in [AllureStep] aspect + Allow '{obj.prop}' placeholders in [AllureStep] step name (#329) Co-authored-by: Кабанов Константин Юрьевич <kykabano@mts.ru> * Package assets fix * NUnit - Add an ability to save OneTimeSetUp step results (#333) * Handle case when underlying step returns Task<T> masked as non-generic Task (#343) * Unify xunit and nunit step acpects * Replace allure-xunit's custom attributes with runner reporter (fixes #344) (#366) * Add support for native xunit attributes * Fix AllureXunitTheoryAttribute base class * Fix missing theories * Fix missing parameters and fixture duplication for some tests * Add support for static test functions * Update xunit examples. Obsolete allure-xunit attributes * Update message sink to match new steps implementation * Remove irrelevant log method from runner * Bump harmony to 2.3-prerelease.2. Warn if no args reported Change Lib.Harmony dependency to 2.3-prerelease.2 for .net 7 support. Add warning if the patch via harmony didn't work for theory args and args aren't reported on the testcase level. * Fix reference to lib.harmony to be listed by dotnet * Factor out allure-related code. Tidying up obsolescence - Allure-xunit's code that creates, updates, starts, stops and writes allure objects is factored out from AllureMessageSink to AllureXunitHelper . - Removal of AllureXunitHelper's public methods was reverted. The methods are marked as obsolete. - Add missing await to an allure-xunit example to suppress the compilation warning. - Mark obsoleted allure-xunit attributes as non-browsable to prevent them from appearing in IDE's suggestions. * Add deprecation info and known issues to allure-xunit README * Fix issue links in allure-xunit readme * Fix obsolescence message for AllureXunitHelper's public methods * New context-based state management model for allure-csharp (#371) * Add AllureContext lass to isolate allure state from threads and async tasks * Add concurrency tests. Reformulate context in terms of active/inactive * Add tests on the context capturing by child threads/tasks * Modify lifecycle/storage to use new context model. Add context get/set API * Make CoreStepsHelper use AllureLifecycle's context * Make lifecycle thread safe. Fix multithreading issues in lifecycle tests * Several improvements on context. Allure-xunit migration - Add bool props to test context to context's public API - Fix context string conversion - Migrate allure-xunit's code to the new context implementation * Bump C# language version to 11 for all projects * Enable null checks in some classes of allure-xunit * Make lifecycle methods with explicit uuids obsoleted * Minor changes in context and lifecycle - Improve error messages and doc comments - Add DebuggerDisplay for context - Uuid in string representation of context if names are empty - Old storage uuid-based methods obsoleted - Make RunInContext return modified context - Replace unsupported container nesting with test nested into each container in chain - Container and test starting now add objects into storage by uuids (transition period) * Rewrite Allure.NUnit to support the new context scheme * Fix Allure.XUnit usage of RunInContext * Rewrite Allure.SpecFlowPlugin to support new context scheme Additionally: - Change broken status to failed for some scenario and step conditions - Add extra test case instead of changing state of existing one in case after feature failed - Enable nullable check project-wide * Separate context from storage - AllureContext moved to Allure.Net.Commons namespace - Context and storage are separated; Storage will be removed later - File scope namespaces for lifecycle and context * Fix obsolete messages. Add file scoped namespaces * Revert obsoleted StopFixtureSuppressTestCase to be intact * Add new info to commons README * Fix invalid test start. Remove rudimentary test start check * Remove dotnet SDK 3.1 installation from build pipeline * Change .NET SDK version to 7.0 in build pipeline * Github pipelines fix - bump actions/checkout to 3.5.3 - bump actions/setup-dotnet to 3.2.0 - add dotnet 3.1 and 6.0 SDKs back to build and test - Change --no-restore to --no-build in dotnet test step * Rename a placeholder scenario * Implement requested changes for PR #371 - Add allure directory clean before all tests in Allure.NUnit.Examples - NUnit.Allure.Core.AllureExtensions.AddScreenDiff is back and marked as obsolete (it just directly calls AllureLifecycle.AddScreenDiff now). - Intendation in Allure.SpecFlowPlugin.csproj fixed. * NUnit: Fix inconsistent one-time fixtures behavior (fixes #286, #374 and #375) (#380) * Fix inconsistent one-time fixtures behavior (fixes #374) * Fix crash when running test from empty namespace (fixes #375) * Fix indentation for AllureAsyncOneTimeSetUoTests.cs * Allure-xunit: support for the second reporter and xunit 2.5.0. Updated packaging and AspectInjector (fixes 368) (#382) * xunit: change sink base, remove redundant err logging * Add ability to compose xunit runner reporters (implements #368) * Extract allure-xunit runner reporter into separate project * Factor out common props. Bump and tune injector * Reflect new project structure in solution * Enable fully deterministic build in CI * Add startup message to Allure.XUnit * Fix second reporter property name in config for Allure.XUnit's example * Rewrite how to run section and fix allure-xunit's README * Fix comment in Directory.Build.props * Revert AspectInjector build optimization * Add link to allureConfig.json issue * Fix release workflow to apply version via .props * Change net.commons description It's quite different from allure-java-commons now. * Improve readability of ResolveExplicitReporter * Fix typo in allure-xunit README * release 2.10.0-preview.1 * set next development version 2.11 * Selective run support: commons, nunit, xunit (#390) * Implement selective run commons * Change GetAllureId to take an enumeration * Implement selective run for allure-nunit * Add a shorthand for testplan's IsMatch * Implement selective run for allure-xunit * Move TestPlan property to commons. Rename selection check method * Allure-specflow: selective run support (#392) * Fix regression: non-working lambda-steps and lambda-fixtures API (#393) * allure-xunit: provide default config when allureConfig.json is missing Fixes #381 * Fix async step/fixture wrapper functions - make async Step, Before and After obey .NET's ExecutionContext capturing rules - refactor CoreStepsHelper to be more testable - write tests for CoreStepsHelper's Step, Before and After More tests are needed to fully cover CoreStepsHelper. Fixes #383 Fixed #388 * Add async suffix to private step methods This helps to make distinction more clear to a reader. * Fix identification properties and parameter formatting (#395) * Bump NUnit for test and example projects * Add json schemas for allureConfig and testplan * Fix schema for allure-xunit and allure-specflow config * Add legacy naming switch to config * Update schema links to current branch * Add schema links update task to release workflow * Implement UUID and method-based fullName algorithms * Common fns to calculate testCaseId, historyId and parameter value * Add docstrings to new id-related functions * Add function to create fullName from class * Fix allureConfig item type for allure-nunit examples * Add missing setter for UseLegacyIds config property * Add framework label factory * Fix uuid, fullName, historyId, testCaseId for allure-nunit UseLegacyIds option is honored. Additionally: - fix uuid for containers - fix missing historyId for ignored tests. Same id rules apply as for non-ignored tests (fixes #345) - add NUnit 3 framework label to test results - remove suites from AllureDisplayIgnored (now suites can be applied directly) - fix parameter names for parametrized test methods * Apply custom formatters to step title and parameters Now step title interpolation and step parameter value conversion uses the same algorithm as test parameter conversions. Fixes #377 * Add language label to commons and NUnit * Fix uuid, fullName, historyId, testCaseId for allure-xunit Legacy identifiers switch is honored. Additionally: - Add framework and language labels to allure-xunit test results - Fix test parameters formatting. Custom type formatters are also used now * Add no-formatters step helper overloads back to public API * Revert autoedit this removal from StepFunctionTests.cs * Fix uuid, fullName, historyId, testCaseId for allure-specflow Legacy ids switch is honored. Implements #387 * Implement requested changes * Lower the required AspectInjector version for users back to 2.8.1 (workaround for #391) (#396) * Add workaround for #391 * Comment AspectInjector workaround step in publish.yml * Add Rosetta warning in package READMEs. Fix allure-nunit readme * Update allure-xunit and allure-specflow README (#397) --------- Co-authored-by: qameta-ci <qameta-ci@qameta.io> Co-authored-by: Andrey Gurenkov <undron@users.noreply.github.com> Co-authored-by: Constantine <overlord1983@mail.ru> Co-authored-by: Кабанов Константин Юрьевич <kykabano@mts.ru> Co-authored-by: Alexander Kulakov <a.kulakov@dodopizza.com> Co-authored-by: Dmitry Pavlushin <d.pavlushin@dodopizza.com> Co-authored-by: Maxim <17935127+delatrie@users.noreply.github.com>
1 parent 38394d9 commit a87db00

155 files changed

Lines changed: 10579 additions & 2812 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@ jobs:
2121
name: "Build"
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@v3.0.2
24+
- uses: actions/checkout@v3.5.3
2525

2626
- name: 'Setup .NET Core SDK'
27-
uses: actions/setup-dotnet@v2.1.0
27+
uses: actions/setup-dotnet@v3.2.0
2828
with:
2929
dotnet-version: |
3030
3.1.x
3131
6.0.x
32+
7.0.x
3233
3334
- name: 'Restore packages'
3435
run: dotnet restore ${{ env.SOLUTION_PATH }} --packages ${{ env.RESTORE_OUTPUT_PATH }}
@@ -38,5 +39,5 @@ jobs:
3839

3940
- name: 'Run tests'
4041
run: |
41-
dotnet test Allure.Net.Commons.Tests/Allure.Net.Commons.Tests.csproj --no-restore --configuration ${{ env.BUILD_CONFIGURATION }}
42-
dotnet test Allure.SpecFlowPlugin.Tests/Allure.SpecFlowPlugin.Tests.csproj --no-restore --configuration ${{ env.BUILD_CONFIGURATION }}
42+
dotnet test Allure.Net.Commons.Tests/Allure.Net.Commons.Tests.csproj --no-build --configuration ${{ env.BUILD_CONFIGURATION }}
43+
dotnet test Allure.SpecFlowPlugin.Tests/Allure.SpecFlowPlugin.Tests.csproj --no-build --configuration ${{ env.BUILD_CONFIGURATION }}

.github/workflows/publish.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,30 @@ jobs:
1414
build:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3.0.2
17+
- uses: actions/checkout@v3.5.3
1818

1919
- name: 'Setup .NET Core SDK'
20-
uses: actions/setup-dotnet@v2.1.0
20+
uses: actions/setup-dotnet@v3.2.0
2121
with:
2222
dotnet-version: |
2323
3.1.x
2424
6.0.x
25+
7.0.x
2526
2627
- name: 'Restore packages'
2728
run: dotnet restore ${{ env.SOLUTION_PATH }} --packages ${{ env.RESTORE_OUTPUT_PATH }}
2829

2930
- name: 'Build project using dotnet'
30-
run: dotnet build ${{ env.SOLUTION_PATH }} --no-restore --configuration ${{ env.BUILD_CONFIGURATION }}
31+
run: dotnet build ${{ env.SOLUTION_PATH }} --no-restore --configuration ${{ env.BUILD_CONFIGURATION }} -p:ContinuousIntegrationBuild=true
32+
33+
# Lower AspectInjector requirement for users of the packages to workaround #391 (build crash on macOS arm machines)
34+
- name: Reduce AspectInjector requirement to 2.8.1
35+
run: |
36+
dotnet add Allure.Net.Commons package AspectInjector --version 2.8.1
37+
dotnet add Allure.XUnit package AspectInjector --version 2.8.1
3138
3239
- name: 'Pack project'
33-
run: dotnet pack ${{ env.SOLUTION_PATH }} --no-restore --no-build --configuration ${{ env.BUILD_CONFIGURATION }} --include-symbols -p:PackageOutputPath=${{ env.PACKAGE_OUTPUT_PATH }}
40+
run: dotnet pack ${{ env.SOLUTION_PATH }} --no-restore --no-build --configuration ${{ env.BUILD_CONFIGURATION }} -p:PackageOutputPath=${{ env.PACKAGE_OUTPUT_PATH }}
3441

3542
- name: 'NuGet publish'
3643
run: |

.github/workflows/release.yml

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -45,29 +45,37 @@ jobs:
4545
git config --global user.email qameta-ci@qameta.io
4646
- name: "Set release version"
4747
run: |
48-
sed -i -e '/<PropertyGroup>/,/<\/PropertyGroup>/ s|<Version>[0-9a-zA-Z.|-]*</Version>|<Version>${{ env.release_version }}</Version>|g' ./Allure.Net.Commons/Allure.Net.Commons.csproj
49-
cat ./Allure.Net.Commons/Allure.Net.Commons.csproj
50-
sed -i -e '/<PropertyGroup>/,/<\/PropertyGroup>/ s|<Version>[0-9a-zA-Z.|-]*</Version>|<Version>${{ env.release_version }}</Version>|g' ./Allure.SpecFlowPlugin/Allure.SpecFlowPlugin.csproj
51-
cat ./Allure.SpecFlowPlugin/Allure.SpecFlowPlugin.csproj
52-
sed -i -e '/<PropertyGroup>/,/<\/PropertyGroup>/ s|<Version>[0-9a-zA-Z.|-]*</Version>|<Version>${{ env.release_version }}</Version>|g' ./Allure.XUnit/Allure.XUnit.csproj
53-
cat ./Allure.XUnit/Allure.XUnit.csproj
54-
sed -i -e '/<PropertyGroup>/,/<\/PropertyGroup>/ s|<Version>[0-9a-zA-Z.|-]*</Version>|<Version>${{ env.release_version }}</Version>|g' ./Allure.NUnit/Allure.NUnit.csproj
55-
cat ./Allure.NUnit/Allure.NUnit.csproj
48+
sed -i -e '/<PropertyGroup>/,/<\/PropertyGroup>/ s|<Version>[0-9a-zA-Z.|-]*</Version>|<Version>${{ env.release_version }}</Version>|g' ./Directory.Build.props
49+
cat ./Directory.Build.props
50+
- name: "Update schema links"
51+
run: |
52+
sed -i -e '/"$ref"/s|/allure-csharp/[^/]*|/allure-csharp/${{ env.release_version }}|g' ./Allure.NUnit/Schemas/allureConfig.schema.json
53+
cat ./Allure.NUnit/Schemas/allureConfig.schema.json
54+
sed -i -e '/"$ref"/s|/allure-csharp/[^/]*|/allure-csharp/${{ env.release_version }}|g' ./Allure.XUnit/Schemas/allureConfig.schema.json
55+
cat ./Allure.XUnit/Schemas/allureConfig.schema.json
56+
sed -i -e '/"$ref"/s|/allure-csharp/[^/]*|/allure-csharp/${{ env.release_version }}|g' ./Allure.SpecFlowPlugin/Schemas/allureConfig.schema.json
57+
cat ./Allure.SpecFlowPlugin/Schemas/allureConfig.schema.json
58+
sed -i -e '/"$schema"/s|/allure-csharp/[^/]*|/allure-csharp/${{ env.release_version }}|g' ./Allure.NUnit/allureConfig.json
59+
cat ./Allure.NUnit/allureConfig.json
60+
sed -i -e '/"$schema"/s|/allure-csharp/[^/]*|/allure-csharp/${{ env.release_version }}|g' ./Allure.NUnit.Examples/allureConfig.json
61+
cat ./Allure.NUnit.Examples/allureConfig.json
62+
sed -i -e '/"$schema"/s|/allure-csharp/[^/]*|/allure-csharp/${{ env.release_version }}|g' ./Allure.XUnit.Examples/allureConfig.json
63+
cat ./Allure.XUnit.Examples/allureConfig.json
64+
sed -i -e '/"$schema"/s|/allure-csharp/[^/]*|/allure-csharp/${{ env.release_version }}|g' ./Allure.SpecFlowPlugin/allureConfig.Template.json
65+
cat ./Allure.SpecFlowPlugin/allureConfig.Template.json
66+
sed -i -e '/"$schema"/s|/allure-csharp/[^/]*|/allure-csharp/${{ env.release_version }}|g' ./Allure.Features/allureConfig.json
67+
cat ./Allure.Features/allureConfig.json
68+
sed -i -e '/"$schema"/s|/allure-csharp/[^/]*|/allure-csharp/${{ env.release_version }}|g' ./Allure.SpecFlowPlugin.Tests/allureConfig.json
69+
cat ./Allure.SpecFlowPlugin.Tests/allureConfig.json
5670
- name: "Commit release version and create tag"
5771
run: |
5872
git commit -am "release ${{ env.release_version }}"
5973
git tag ${{ env.release_version }}
6074
git push origin ${{ env.release_version }}
6175
- name: "Set next development version"
6276
run: |
63-
sed -i -e '/<PropertyGroup>/,/<\/PropertyGroup>/ s|<Version>[0-9a-zA-Z.|-]*</Version>|<Version>${{ inputs.nextVersion }}-SNAPSHOT</Version>|g' ./Allure.Net.Commons/Allure.Net.Commons.csproj
64-
cat ./Allure.Net.Commons/Allure.Net.Commons.csproj
65-
sed -i -e '/<PropertyGroup>/,/<\/PropertyGroup>/ s|<Version>[0-9a-zA-Z.|-]*</Version>|<Version>${{ inputs.nextVersion }}-SNAPSHOT</Version>|g' ./Allure.SpecFlowPlugin/Allure.SpecFlowPlugin.csproj
66-
cat ./Allure.SpecFlowPlugin/Allure.SpecFlowPlugin.csproj
67-
sed -i -e '/<PropertyGroup>/,/<\/PropertyGroup>/ s|<Version>[0-9a-zA-Z.|-]*</Version>|<Version>${{ inputs.nextVersion }}-SNAPSHOT</Version>|g' ./Allure.XUnit/Allure.XUnit.csproj
68-
cat ./Allure.XUnit/Allure.XUnit.csproj
69-
sed -i -e '/<PropertyGroup>/,/<\/PropertyGroup>/ s|<Version>[0-9a-zA-Z.|-]*</Version>|<Version>${{ inputs.nextVersion }}-SNAPSHOT</Version>|g' ./Allure.NUnit/Allure.NUnit.csproj
70-
cat ./Allure.NUnit/Allure.NUnit.csproj
77+
sed -i -e '/<PropertyGroup>/,/<\/PropertyGroup>/ s|<Version>[0-9a-zA-Z.|-]*</Version>|<Version>${{ inputs.nextVersion }}-SNAPSHOT</Version>|g' ./Directory.Build.props
78+
cat ./Directory.Build.props
7179
- name: "Commit next development version and push it"
7280
run: |
7381
git commit -am "set next development version ${{ inputs.nextVersion }}"

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,3 +265,5 @@ __pycache__/
265265
.DS_Store
266266
*mono_crash*
267267
/.vscode
268+
269+
.editorconfig
Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,34 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<TargetFramework>netcoreapp3.1</TargetFramework>
4-
<IsPackable>false</IsPackable>
5-
<OutputPath>bin</OutputPath>
6-
</PropertyGroup>
2+
<PropertyGroup>
3+
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<OutputPath>bin</OutputPath>
5+
</PropertyGroup>
76

8-
<ItemGroup>
9-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.1" />
10-
<PackageReference Include="Castle.Core" Version="4.4.1" />
11-
<PackageReference Include="NUnit" Version="3.13.2" />
12-
<PackageReference Include="NUnit3TestAdapter" Version="4.0.0" />
13-
<PackageReference Include="SpecFlow" Version="3.9.74" />
14-
<PackageReference Include="SpecFlow.SharedSteps" Version="3.0.7" />
15-
<PackageReference Include="SpecFlow.Tools.MsBuild.Generation" Version="3.9.8" />
16-
<PackageReference Include="SpecFlow.NUnit" Version="3.9.8" />
17-
</ItemGroup>
18-
<ItemGroup>
19-
<ProjectReference Include="..\Allure.Net.Commons\Allure.Net.Commons.csproj" />
20-
<ProjectReference Include="..\Allure.SpecFlowPlugin\Allure.SpecFlowPlugin.csproj" />
21-
</ItemGroup>
22-
<ItemGroup>
23-
<None Update="allureConfig.json">
24-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
25-
</None>
26-
</ItemGroup>
27-
<ItemGroup>
28-
<None Update="specflow.json">
29-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
30-
</None>
31-
</ItemGroup>
7+
<ItemGroup>
8+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.1" />
9+
<PackageReference Include="Castle.Core" Version="4.4.1" />
10+
<PackageReference Include="NUnit" Version="3.13.3" />
11+
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
12+
<PackageReference Include="SpecFlow" Version="3.9.74" />
13+
<PackageReference Include="SpecFlow.SharedSteps" Version="3.0.7" />
14+
15+
<!-- SpecFlow.SharedSteps doesn't work with SpecFlow.Tools.MsBuild.Generation v3.9.58+ -->
16+
<PackageReference Include="SpecFlow.Tools.MsBuild.Generation" Version="3.9.52" />
17+
18+
<PackageReference Include="SpecFlow.NUnit" Version="3.9.52" />
19+
</ItemGroup>
20+
<ItemGroup>
21+
<ProjectReference Include="..\Allure.Net.Commons\Allure.Net.Commons.csproj" />
22+
<ProjectReference Include="..\Allure.SpecFlowPlugin\Allure.SpecFlowPlugin.csproj" />
23+
</ItemGroup>
24+
<ItemGroup>
25+
<None Update="allureConfig.json">
26+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
27+
</None>
28+
</ItemGroup>
29+
<ItemGroup>
30+
<None Update="specflow.json">
31+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
32+
</None>
33+
</ItemGroup>
3234
</Project>

Allure.Features/TestData/After Feature Failure.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Feature: After Feature Failure
55
Scenario: After Feature Failure 1
66
Given Step is 'passed'
77

8-
@broken
8+
@failed
99
Scenario: After Feature Failure 3
1010
Given Step is 'failed'
1111

Allure.Features/TestData/Before Feature Failure.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
Feature: Before Feature Failure
33

44
@broken
5-
Scenario: Unknown
5+
Scenario: Feature hook failure placeholder

Allure.Features/TestData/Invalid Steps.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Given Step is 'passed'
1313
And I don't have such step too
1414

15-
@broken
15+
@failed
1616
Scenario: Failed step followed by invalid step
1717
Given Step is 'failed'
1818
Given I don't have such step

Allure.Features/allureConfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://raw.githubusercontent.com/allure-framework/allure-csharp/identifiers-fix/Allure.SpecFlowPlugin/Schemas/allureConfig.schema.json",
23
"allure": {
34
"title": "5994A3F7-AF84-46AD-9393-000BB45553CC",
45
"directory": "allure-results",
Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
5-
<IsPackable>false</IsPackable>
6-
<OutputType>Library</OutputType>
7-
</PropertyGroup>
3+
<PropertyGroup>
4+
<TargetFramework>net6.0</TargetFramework>
5+
<OutputType>Library</OutputType>
6+
</PropertyGroup>
87

9-
<ItemGroup>
10-
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
11-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.1" />
12-
</ItemGroup>
8+
<ItemGroup>
9+
<PackageReference Include="NUnit" Version="3.13.3" />
10+
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
11+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.1" />
12+
</ItemGroup>
1313

14-
<ItemGroup>
15-
<ProjectReference Include="..\Allure.NUnit\Allure.NUnit.csproj" />
16-
</ItemGroup>
14+
<ItemGroup>
15+
<ProjectReference Include="..\Allure.NUnit\Allure.NUnit.csproj" />
16+
</ItemGroup>
1717

18-
<ItemGroup>
19-
<Resource Include="allureConfig.json">
20-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
21-
</Resource>
22-
<Resource Include="AllureIgnoredTest.cs" />
23-
<None Include="./../img/Allure-Color.png" PackagePath="\">
24-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
25-
</None>
26-
</ItemGroup>
18+
<ItemGroup>
19+
<Content Include="allureConfig.json">
20+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
21+
</Content>
22+
<Resource Include="AllureIgnoredTest.cs" />
23+
<None Include="./../img/Allure-Color.png" PackagePath="\">
24+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
25+
</None>
26+
</ItemGroup>
2727

2828
</Project>

0 commit comments

Comments
 (0)