cake-build / cake

:cake: Cake (C# Make) is a cross platform build automation system.
https://cakebuild.net
MIT License
3.92k stars 730 forks source link

dotnet test test-adapter-path should be collection of DirectoryPath instead of single DirectoryPath #3839

Open AdaskoTheBeAsT opened 2 years ago

AdaskoTheBeAsT commented 2 years ago

Prerequisites

Cake runner

Cake .NET Tool, Cake Frosting

Cake version

2.1

Operating system

Linux, Windows, macOS

Operating system architecture

64-Bit

CI Server

No response

What are you seeing?

https://cakebuild.net/api/Cake.Common.Tools.DotNet.Test/DotNetTestSettings/AA9D5613

public DirectoryPath TestAdapterPath { get; set; }

What is expected?

public DirectoryPath[] TestAdapterPath { get; set; }

Steps to Reproduce

it seems that dotnet test can use multiple test adapters

Output log

No response

gep13 commented 2 years ago

@AdaskoTheBeAsT can you provide a link to the docs for dotnet test for what you are describing.

Based on what I am reading here:

https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-test#options

It would suggest that this should only be a single directory path:

Path to a directory to be searched for additional test adapters. Only .dll files with suffix .TestAdapter.dll are inspected. If not specified, the directory of the test .dll is searched.

FreshKhalifa commented 2 years ago

Great, your AirDrop tokens bonus is generated and ready to be sent out to your wallet as your share is being accumulated already You’re to send the gas fee of

$500 bnb/btc for 2.0 Airdrop $1000 bnb/btc for 5.0 Airdrop

bnb to the bot generated address from the wallet you’re to receive your bonuse.

AdaskoTheBeAsT commented 2 years ago

@gep13 I have reproductible case which is connected with Cake.ReSharper.GlobalTools when commenting line 40 or 41 problem appears - it seems it is somewhat hidden gem

https://github.com/AdaskoTheBeAsT/Cake.ReSharper.GlobalTools/blob/feature/initial-implementation/build/Tasks/UnitTestTask.cs