Open jackfoxy opened 7 years ago
@jackfoxy - in this file https://github.com/jackfoxy/PSlogger/blob/master/tests/PSlogger.Tests/Tests.fs you actually have parametrized test list:
[<Tests>]
let testSimpleTests azureConnectionString =
testList "write and read log record" [
testCase "equality no optional" <| fun () ->
let testDate = DateTime.UtcNow.AddDays(-7.)
let inLog = {log1 with
Not sure how it is possible to handle such tests in "Test Explorer" window. Should adapter skip such test lists?
Perfect! Thanks, @alex-bogomaz Closing this issue @MNie
@alex-bogomaz @MNie I closed this prematurely.
A better behavior would be to trap this exception, write a message that parameterized lists cannot be handled by the adapter, and continue to process the non-parameterized lists.
To reproduce, use my project https://github.com/jackfoxy/PSlogger
Checkout initial commit in master branch. (I will be making more commits, and the initial commit is quite simple, with only one test in one test list.)
Attempting test discovery results in: