Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DUnit DCPU-16 Unit Testing Tool Copyright Drew DeVault 2012
- DUnit is a unit testing framework for DCPU-16.
- This executable is both a standalone tool, and a plugin for the Organic
- assembler. If you don't already have Organic in the same directory, use
- --organic to download it.
- It is also a plugin for Lettuce. If you don't already have lettuce in the same
- directory, use --lettuce to download it.
- ===Organic Usage===
- Run "organic.exe --help" for more information.
- Using --export-tests testfile.unit will cause the plutin to output a unit test
- file, which can be loaded with DUnit.
- ===Lettuce Usage===
- Run "lettuce.exe --help" for more information.
- A new menu option called "Tests" will be added to the debugger to work with
- unit tests.
- ===DUnit Usage===
- dunit.exe testfile.unit [options] [command] [parameters]
- ---Options
- --create-report [directory]: Creates an HTML-based report of the test results.
- --help: Displays this message.
- ---Commands
- run [test(s)|all]: Runs the specified tests (comma delimited). Examples:
- run all: Runs all tests in the unit file
- run test1,test2: Runs test1 and test2.
- debug [test(s)|all]: Runs the specified tests (comma delimited) with Lettuce.
Advertisement
Add Comment
Please, Sign In to add comment