• Home
  • Raw
  • Download

Lines Matching full:unity

1 # Unity - Getting Started
9 Unity is a unit test framework. The goal has been to keep it small and
10 functional. The core Unity test framework is three files: a single C file and a
14 Unity was designed to be cross-platform. It works hard to stick with C standards
16 rules. Unity has been used with many compilers, including GCC, IAR, Clang,
23 #### Unity Assertions reference
26 Unity. This is going to be your unit testing bread and butter. You'll spend more
27 time with assertions than any other part of Unity.
30 #### Unity Assertions Cheat Sheet
34 familiarize yourself with Unity's options.
37 #### Unity Configuration Guide
39 This document is the one to reference when you are going to use Unity with a new
44 #### Unity Helper Scripts
48 included in the auto directory of your Unity installation. Neither Ruby nor
49 these scripts are necessary for using Unity. They are provided as a convenience
53 #### Unity License
63 If you have obtained Unity through Github or something similar, you might be
65 Don't worry, Unity itself is very small. The rest of it is just there to make
70 header files. These three files _are_ Unity.
74 - `examples` - This contains a few examples of using Unity.
75 - `extras` - These are optional add ons to Unity that are not part of the core
78 - `test` - This is how Unity and its scripts are all tested. If you're just using
79 Unity, you'll likely never need to go in here. If you are the lucky team member
80 who gets to port Unity to a new toolchain, this is a good place to verify
83 workflow. They are purely optional and are not required to make use of Unity.
89 module that you want to test. The test file should include unity.h and the
106 developers. Also, the automated scripts that come with Unity or Ceedling will default
108 and return nothing. All test accounting is handled internally in Unity.
126 #include "unity.h"
192 …ing the rest of the test. A pair of macros support this functionality in Unity. The first `TEST_…
243 In either case, a test is built by linking unity, the test file, and the C