Lines Matching full:unit
7 everything from unit testing and exercising specific sub-systems all
48 which includes QAPI schema tests, unit tests, QTests and some iotests.
57 Unit tests
60 A unit test is responsible for exercising individual software components as a
61 unit, like interfaces, data structures, and functionality, uncovering errors
63 smallest software unit and focuses on the internal processing logic and data
64 structures. A test case of unit tests should be designed to uncover errors
68 In QEMU, unit tests can be invoked with ``make check-unit``. They are
72 If you are writing new code in QEMU, consider adding a unit test, especially
74 add a new unit test:
76 1. Create a new source file. For example, ``tests/unit/foo-test.c``.
83 3. Add the test to ``tests/unit/meson.build``. The unit tests are listed in a
86 is in ``tests/unit/foo-test.c``, it is enough to add an entry like::
94 Since unit tests don't require environment variables, the simplest way to debug
95 a unit test failure is often directly invoking it or even running it under
103 make check-unit V=1
105 and copy the actual command line which executes the unit test, then run
124 Both unit tests and qtests can run on POSIX hosts as well as Windows hosts.
998 KVM Unit Tests
1001 The KVM unit tests are designed to run as a Guest OS under KVM but
1006 https://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git