Arc Forumnew | comments | leaders | submitlogin
Unit testing?
6 points by byronsalty 6159 days ago | 2 comments
Is there already a unit testing framework for Arc or is someone working on that?

It seems along the lines of exploratory coding to build a suite of tests so that as your ripping things apart to build back up you have some assurance that you're not destroying the functionality somewhere else. I found myself this weekend hand testing 6 or so different scenarios through asv to make sure my changes weren't having unintended consequences. Besides being a waste of time, I have to wonder if the next person to change the srv will remember to test all the scenarios - even if the next person is me.



5 points by will 6159 days ago | link

I wrote a specification-based unit testing framework called spec.arc. It's in the git wiki; also at http://www.entish.org/spec.arc

-----

1 point by byronsalty 6159 days ago | link

Cool - I'll check it out soon. Can you give us some code examples of usage in the meantime?

-----