aikuma / aikuma-ng

Speech annotation web app for regular folk
22 stars 13 forks source link

Investigate unit testing #93

Closed Lingomat closed 8 years ago

Lingomat commented 8 years ago

I would like to elevate the reliability of software updates, to try minimize the introduction of bugs with updates since our audience can't stop software upgrades.

From my understanding, it's almost better to write the unit test first. Perhaps we can just port one component to a unit test to assess the impact on development time.

Lingomat commented 8 years ago

I have to say, I'm more convinced that functions ought to have standardized annotations describing arguments, results and dependencies. It seems to me this would lend itself to testing anyway and will make the code more accessible to other contributors.