Unit Testing

Monkey Forums/Monkey Programming/Unit Testing

consty(Posted 2014) [#1]
Is there a thing in Monkey such as unit testing?


Arjailer(Posted 2014) [#2]
There is nothing built-in, though several people (myself included) have rolled their own using reflection. I don't have time to do it today, but I could pull my test framework out and write a quick example if you're interested.


consty(Posted 2014) [#3]
I was searching over and I found this
https://github.com/devolonter/monkey-unittest

I will have to study carefully in order to understand.

I guess that this is how everybody do it right?


wiebow(Posted 2014) [#4]
Here's my module, based of MaxUnit and Junit. https://code.google.com/p/mutated-monkey/wiki/unittest


nigelibrown(Posted 2014) [#5]
@wiebow, getting lots of errors when trying to build the simple_test. using MonkeyXPro81a


wiebow(Posted 2014) [#6]
Nigel, I don't use Monkey anymore mate. Uninstalled, etc. done. The problems shouldn't be too hard to fix though!