cknadler / marktab-c

Concise, machine readable guitar tabs
MIT License
36 stars 7 forks source link

Add test suite #15

Closed russplaysguitar closed 11 years ago

russplaysguitar commented 12 years ago

Where the tests?

cknadler commented 12 years ago

I'm writing a testing framework specifically for testing marktab (and hkl). It's going to be straight output diff tests. If you have any other suggestions as to a testing framework I should use, I'm all ears. New to this whole c thing.

russplaysguitar commented 12 years ago

I'm not sure, I've never written unit tests in C.

This looks promising: http://www.opensourcetesting.org/unit_c.php

Seems like Barrett would know this?

cknadler commented 12 years ago

I talked to him about unit testing a while ago and we decided against it in hkl. If you find anything compelling though, let me know.

My testing framework is at cknadler/rcomp. I'll hopefully have it done within a week or so. There will be some docs on intended functionality up sooner.

cknadler commented 11 years ago

Tests will eventually be at https://github.com/cknadler/marktab-tests