cscore icon indicating copy to clipboard operation
cscore copied to clipboard

Add test data generator

Open cs-util opened this issue 6 years ago • 2 comments

The easiest way to find performance problems is to test with realistic data or even better testing with data models that are much larger than whatever will be used in production.

The idea for this ticket is to simplify the generation of mock data for example by providing an interface to enforce very large test models and to help with generation of example values

This ticket is an ideal candidate to be build test driven and potentially improve the performance guards (e.g. add a few more performance focused assertions)

cs-util avatar Feb 22 '19 19:02 cs-util

Just spent a good amount of time tinkering with Bogus - were you hoping for this but bare bones or a wrapper?

sam1rm-hiretech avatar Nov 24 '20 20:11 sam1rm-hiretech

Hi @sam1rm-hiretech , yes I think using bogus or something similar might be the better option instead of building a full mock data system, and I don't see any generic concepts for small helper classes that get 90% of the default use cases done that could be added to cscore

So if you want to come up with some ideas here feel free to to do so, I currently think the issue should be rejected and bogus or similar should be used by anyone needing to work with mock data

I will take the time and add a few other enhancement suggestions in the issue section in case you just want to work on some open source project ;)

cs-util avatar Nov 25 '20 07:11 cs-util