cake icon indicating copy to clipboard operation
cake copied to clipboard

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

Open AdaskoTheBeAsT opened this issue 3 years ago • 3 comments

Prerequisites

  • [X] I have written a descriptive issue title
  • [X] I have searched issues to ensure it has not already been reported

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

AdaskoTheBeAsT avatar Mar 13 '22 14:03 AdaskoTheBeAsT

@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.

gep13 avatar Jun 12 '22 20:06 gep13

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.

FreshKhalifa avatar Jun 12 '22 22:06 FreshKhalifa

@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

AdaskoTheBeAsT avatar Jun 13 '22 11:06 AdaskoTheBeAsT