This is a "playground" for c64unit, the ultimate unit test framework for Commodore 64.
This repository contains examples with a variety of assertions including value assertions, assertions of Data Sets, and flag assertions. You can learn also how to mock methods, and in general, how to create your test suites and use macros for your cross-assembler of choice.
Note, that this repository uses only the newest version of c64unit framework, and all examples will be updated if necessary. For a reference with former versions, you can always check the history of commits.
Check how easily - with just a few lines of test code - you can focus on the implementation, and improve your code as you go!
2. How to start.
Full documentation is available on the c64unit repository page: https://bitbucket.org/Commocore/c64unit.
Following cross-assemblers are supported and have been covered here:
If support for your cross-assembler is missing, let us know. If you'll find any bug, or test case which fails for any reason, please open the issue.