/propertytesting

Samples of Property based testing based on scala check

Primary LanguageScala

property testing samples based on scalacheck

Sample for property based testing

Dependency

Compile time dependency on https://github.com/ashkrit/jobserver , build project locally and then compile this project

Sample Includes

String

Testing String properties like truncate , contains , token/split

Complex Aggregation System

Testing new Aggregation implementation against legacy aggregation system

Stateful System

Stateful system like Counter/Key Value Store

Stateful System - Micro service

Testing Jobserver mico service - https://github.com/ashkrit/jobserver

Property testing patterns

Input to output when order of input does not matter
Inverse property
etc