Closed yac closed 7 years ago
After initial research, I think using Behavior Driven Development framework would solve both hard unit tests and poor documentation of specific actions behavior.
There is a wide range of python BDD libraries available. Currently, I'm in favor of behave which looks like solid stable implementation with users, proper documentation and RPM packages available in Fedora.
I like Morelia's approach and integration with existing testing tools more, but it is a risky hipster dependency.
Nice prototype under review: https://softwarefactory-project.io/r/#/c/8679/
Describing and unit testing various operations
rdopkg
performs on.spec
files is currently tedious, painful and not fun at all. I need to rethink the unit tests to actually be a useful and fun part of development process, not a burden that slows down progres and saps out life of contributors.I need to research http://lettuce.it/ and other testing tools and approaches. If you have some tips on howto test non-trivial text file transformations, please share.