[libre-riscv-dev] [Bug 79] New: switch to using unittest package for unit testing

bugzilla-daemon at libre-riscv.org bugzilla-daemon at libre-riscv.org
Tue Apr 30 03:59:32 BST 2019


http://bugs.libre-riscv.org/show_bug.cgi?id=79

            Bug ID: 79
           Summary: switch to using unittest package for unit testing
           Product: Libre Shakti M-Class
           Version: unspecified
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: enhancement
          Priority: ---
         Component: Source Code
          Assignee: lkcl at lkcl.net
          Reporter: programmerjake at gmail.com
                CC: libre-riscv-dev at lists.libre-riscv.org
   NLnet milestone: ---

I think it would be better to use Python's built-in unittest package instead of
using our own custom unit testing framework.

https://docs.python.org/3/library/unittest.html

It supports things like:
* finding all test*.py files and loading them automatically
* allowing filtering of which tests are run without needing to comment out
sections of the source code
* being a well-known unit testing framework
* has a test-running GUI for those who don't like command-line as much
* not needing a Makefile

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-riscv-dev mailing list