Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
  You are not logged in - nap
c64unit V0.71   [2018]

c64unit V0.71 Released by :
Commocore [web]

Release Date :
17 December 2018

Type :
Other Platform C64 Tool

Website :
http://www.commocore.com/repository/c64unit

User rating:awaiting 8 votes (8 left)

Credits :
Code .... Bago Zonde of Commocore, FanCA

Download :

Look for downloads on external sites:
 Pokefinder.org


Summary
Submitted by Bago Zonde on 17 December 2018
Potentially, c64unit test framework allows you to test your code within any cross-assembler of your choice. The package itself is a compiled binary, which can be accessed by any other cross-assembler. And with few handy macros in a toolbox, testing your code is just simple!

Features:
- uses macros so writing tests requires only few lines of test code, and hides internal framework's mechanisms
- no variables used on zero-page, so code can be tested freely
- most common cross-assemblers supported so far, and opened to extension
- you can examine your function against different conditions - use Data Sets to initialize any number of conditions on fly like zero page addresses, other memory locations or just by passing A, X, Y registers
- forget about writing assertions over and over again for each case, Data Sets allow not only to initialize, but also to assert multiple set of data dynamically, up to 256 byte values per table, or 128 word values per table
- you can mock methods, which means you can test your code in isolation, create stubs, skip loading data from disk and much more
- you can assert not only values or memory addresses, but also flag statuses like carry flag, negative flag (support for both, signed and unsigned values) and so on

Macros implementation is supported by the following cross-assemblers:
- 64tass
- DASM
- Kick Assembler
- ACME
- ca65
- xa65

Documentation: https://bitbucket.org/Commocore/c64unit
Examples: https://bitbucket.org/Commocore/c64unit-examples
Search CSDb
Advanced
Navigate
Prev - Random - Next
Detailed Info
· Summaries (1)
· User Comments
· Production Notes (1)
Fun Stuff
· Goofs
· Hidden Parts
· Trivia
Forum
· Discuss this release
Support CSDb
Help keep CSDb running:



Funding status:




About this site:
CSDb (Commodore 64 Scene Database) is a website which goal is to gather as much information and material about the scene around the commodore 64 computer - the worlds most popular home computer throughout time. Here you can find almost anything which was ever made for the commodore 64, and more is being added every day. As this website is scene related, you can mostly find demos, music and graphics made by the people who made the scene (the sceners), but you can also find a lot of the old classic games here. Try out the search box in the top right corner, or check out the CSDb main page for the latest additions.
Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.084 sec.