arcade icon indicating copy to clipboard operation
arcade copied to clipboard

Testing documentation

Open jaredpar opened this issue 6 years ago • 11 comments

Is there an MD file that explains how testing works in arcade? Essentially one that calls out you can do dotnet build /t:Test and the like? Wanted to take a look at it, possibly update it with some scenarios that I've found useful.

jaredpar avatar Mar 11 '19 14:03 jaredpar

Perhaps @garath knows if that exists and where is it?

jcagme avatar Mar 11 '19 14:03 jcagme

The build properties applicable to testing are documented here: https://github.com/dotnet/arcade/blob/master/Documentation/ArcadeSdk.md#skiptests-bool

What scenarios?

tmat avatar Mar 11 '19 16:03 tmat

Mostly how to run a single class or method.

jaredpar avatar Mar 11 '19 16:03 jaredpar

I see, that would be via /p:TestRunnerAdditionalArguments, right?

tmat avatar Mar 11 '19 16:03 tmat

Dunno. Haven't tested yet. That's why I was looking for the docs 😄

jaredpar avatar Mar 11 '19 16:03 jaredpar

It's not the first time we've had questions on how Arcade handles tests. Some scenario-based docs would provide clarity.

garath avatar Mar 11 '19 17:03 garath

@jonfortescue - any chance you could shed some light here? Perhaps some doc upgrades might be in order?

markwilkie avatar Mar 11 '19 21:03 markwilkie

@jonfortescue - ping

markwilkie avatar Mar 15 '19 21:03 markwilkie

In talking offline, it looks like this has rolled all the way back around to @tmat. Any insight @tmat ?

markwilkie avatar Mar 29 '19 20:03 markwilkie

@jaredpar - What are you thinking you'd like to see that's not covered in https://github.com/dotnet/arcade/blob/master/Documentation/ArcadeSdk.md#skiptests-bool ?

markwilkie avatar Apr 05 '19 16:04 markwilkie

@markwilkie how do I run a single test from the command line?

jaredpar avatar Apr 05 '19 17:04 jaredpar