webforge / testdata-repository
A repository for data that you can use to fill your unit tests.
Installs: 1 346
Dependents: 4
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.3.2
Requires (Dev)
- pscheit/psc-cms: dev-master
This package is auto-updated.
Last update: 2024-11-07 02:39:45 UTC
README
Writing testdata can really be a tricky task. This project tries to gather testdata from everywhere for a lot of common tasks in developer life. It should not be language dependent, so that testdata can be contributed from everyone who writes tests. Globalized and shared testdata has a lot advantages for everyone:
- often used testdata is more consistent and has fewer data errors
- more edge cases are covered
- writing tests will be faster
- writing the test and implementation gets the focus
- you have lesser excuses to not write tests
- tests and data will be decoupled cleanly
Testdata writing can be fun! Imagine a world of testdata, where test people live (did you heard of Max Mustermann these days?) Testdata cars are driving, credit cards have numbers...
I really like the "hands on code thing" and started working out a small example for NestedSets.
roadmap
- how to gather good test data
- data representation
- search for contributors and people with interest
- write more motivation texts