▲ | ChrisMarshallNY 4 days ago | |
Well, I thought I explained it well. Frankly, I'm shocked that folks don't know what test harnesses are. They are one of the oldest constructs in Software Engineering. In the days of old, we often called them "Unit Tests." If you want some concrete examples, here you go: Here's my "Spinner" widget: https://github.com/RiftValleySoftware/RVS_Spinner This is the four test harness apps: https://github.com/RiftValleySoftware/RVS_Spinner/tree/main/... This is my checkbox widget: https://github.com/RiftValleySoftware/RVS_Checkbox Here's the test harness app: https://github.com/RiftValleySoftware/RVS_Checkbox/tree/main... There's more, but these should be enough to illustrate the point. | ||
▲ | chrisweekly 3 days ago | parent [-] | |
Great examples, thanks for sharing links to a real project. But I'm confused by your assertion, > "In the days of old, we often called them "Unit Tests." My understanding is, test harnesses are standalone wrapper apps dedicated to testing, vs more granular unit tests which are traditionally colocated with (eg, files alongside) app src code in a given project. Care to elucidate? |