SirCmpwn

Untitled

Jun 1st, 2012
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. DUnit DCPU-16 Unit Testing Tool Copyright Drew DeVault 2012
  2.  
  3. DUnit is a unit testing framework for DCPU-16.
  4. This executable is both a standalone tool, and a plugin for the Organic
  5. assembler. If you don't already have Organic in the same directory, use
  6. --organic to download it.
  7. It is also a plugin for Lettuce. If you don't already have lettuce in the same
  8. directory, use --lettuce to download it.
  9.  
  10. ===Organic Usage===
  11. Run "organic.exe --help" for more information.
  12. Using --export-tests testfile.unit will cause the plutin to output a unit test
  13. file, which can be loaded with DUnit.
  14.  
  15. ===Lettuce Usage===
  16. Run "lettuce.exe --help" for more information.
  17. A new menu option called "Tests" will be added to the debugger to work with
  18. unit tests.
  19.  
  20. ===DUnit Usage===
  21. dunit.exe testfile.unit [options] [command] [parameters]
  22. ---Options
  23. --create-report [directory]: Creates an HTML-based report of the test results.
  24. --help: Displays this message.
  25. ---Commands
  26. run [test(s)|all]: Runs the specified tests (comma delimited). Examples:
  27. run all: Runs all tests in the unit file
  28. run test1,test2: Runs test1 and test2.
  29. debug [test(s)|all]: Runs the specified tests (comma delimited) with Lettuce.
Advertisement
Add Comment
Please, Sign In to add comment