SwiftCheck icon indicating copy to clipboard operation
SwiftCheck copied to clipboard

[Swift 4.1?] Add Arbitrary instances for EVERYTHING

Open CodaFi opened this issue 9 years ago • 6 comments

With the merger of SE-0075, we should be able to conditionally export new Arbitrary API for every module under the sun. Off the top of my head

  • [ ] Foundation
  • [ ] UIKit
  • [ ] AppKit
  • [ ] CoreData

would be useful to start with.

CodaFi avatar May 19 '16 06:05 CodaFi

I've already got some generators for CoreGraphics & UIKit that I'd be happy to contribute.

bgerstle avatar Jun 18 '16 18:06 bgerstle

I've got some Foundation (pre-Swift 3) generators that need to be cleaned up, but I'd be happy to contribute, as well.

kykim avatar Jul 06 '16 21:07 kykim

Do you think these would be better separated into different projects? It would keep the API footprint and code size small for SwiftCheck proper.

adamkuipers avatar Oct 20 '16 22:10 adamkuipers

Now that it's been merged for real this time @kykim do you still have those Foundation extensions?

CodaFi avatar Dec 14 '16 22:12 CodaFi

I'll try to put together something w/ my CG & UIKit generators as well.

bgerstle avatar Dec 14 '16 22:12 bgerstle

Fantastic! It's going to be a bit awkward to work with an old toolchain on this stuff, but I have a feeling this is going to ship with 3.1 in January-ish so it shouldn't be that long!

CodaFi avatar Dec 14 '16 22:12 CodaFi