Test framework for Monkey C

Is anyone using anything that they would recommend for automated testing their apps?

Thank you!

Brian
  • it looks like there may be some sort of testing system built into the Toybox.Test module.
  • I ended up building my own mini test-framework inspired by NUnit. It worked okay, but I'm definitely looking forward to what Garmin provides here.

    The big issue I had in my framework was, since exceptions weren't working, I had to maintain a global `testsFailed` flag; and tests would not stop on first test failure.

    Now that exceptions theoretically work, might rework it to throw an `AssertionError` like normal xUnit frameworks.3
  • Former Member
    Former Member over 10 years ago
    it looks like there may be some sort of testing system built into the Toybox.Test module.


    Has anyone had luck using the Toybox.Test? I would like to figure out how it works but I can't find any enlightenment.
  • Has anyone had luck using the Toybox.Test? I would like to figure out how it works but I can't find any enlightenment.


    A test framework is still on our list of things to provide. The Toybox.Test module is currently for internal API testing and doesn't provide any framework for app tests.
  • A test framework is still on our list of things to provide. The Toybox.Test module is currently for internal API testing and doesn't provide any framework for app tests.


    The lack of any automated test is the biggest blocker for me committing serious time to development for the platform.