Get Updates By E-mail 

Article Written By:
Johann Dowa

SwiftCheck – A Swift Library For Generating Testing Data

  •  
  •  
  •  
  •  
  •  

QuickCheck is an open source Swift library from TypeLift inspired by the QuickCheck Haskell library that automatically generates random data for testing program properties.

QuickCheck has a very concise syntax, and what makes QuickCheck different is that it can shrink test cases to find exactly what is causing a test to fail.

As the readme states:

What makes QuickCheck unique is the notion of shrinking test cases. When fuzz testing with arbitrary data, rather than simply halt on a failing test, SwiftCheck will begin whittling the data that causes the test to fail down to a minimal counterexample.

You can find SwiftCheck on Github here.

A great library for testing.

 


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments