swift-testing icon indicating copy to clipboard operation
swift-testing copied to clipboard

Add a public initializer for Testing.Test

Open younata opened this issue 7 months ago • 0 comments

Description

I'm in the process of creating a BDD-style DSL on top of Swift Testing (https://github.com/Quick/Quick/pull/1292), and I'm looking at creating Testing.Tests. I could use Testing.Test.__function, but that's explicitly discouraged (though that's definitely what I'll be using for the time being).

I'd like for the Test struct initializers to be made public, so that I have an explicitly supported way to generate Test objects.

younata avatar Jul 03 '24 16:07 younata