Quantcast
Channel: White Papers
Browsing all 10 articles
Browse latest View live
↧

Using with IDEs

Sometimes using tools through a command line just isn't satisfying enough. You want to trigger scripts and tests directly from your favorite editor. Here we're collecting tips and tricks for dealing...

View Article


Comparing Unit Test Frameworks

Our goal is to help you find the right fit for your needs. If that's not our particular tools, it does neither of us any good for us to try to oversell our goods. Here's a comparison to other...

View Article


Image may be NSFW.
Clik here to view.

Basic Mocking with CMock

Once you understand how basic unit testing with Unity works, you're ready to understand how CMock can be added to make it extra-powerful. For each test, one (or more rarely multiple) real module is...

View Article

CMock and Custom Types

CMock handles custom types (types that you have created as typedefs or #define aliases) in one of three ways. The first way is the default method, which happens if you don't do anything to point it at...

View Article

Mocking inline functions or macros

CMock does a lot of nice things for you. Often it works smoothly enough that you barely remember how complex its actions actually are. But, as neat as it is, it can't break the fundamental rules of C....

View Article


YAML Primer

We, the developers of CMock, Unity, and Ceedling, like YAML. YAML is a markup language... or... I guess it's not since it stands for YAML Ain't Markup Language. In any case it's a handy way to...

View Article

When Bad Code Runs Green

Contributed by Matt Wilbur This is a cautionary tale. I was recently test-driving a UART module. Nothing earth-shattering, I know. For my current project, I have adopted the "DH" pattern for my driver...

View Article

CMock Roadmap

This is a rough idea of where we are going with CMock. Feel free to add your thoughts and comments. We'd love to hear them! CMock 2.5 This is a performance milestone. It's all about efficiency. We want...

View Article


CMock Release Notes

CMock 2.0 Even Better Parser than 1.9 (someday maybe it'll be a full-blown C parser) strange arrays containing arithmetic operators, etc. more difficult anonymous function pointers loads of little...

View Article


Unity Release Notes

Unity 2.0 Added optional 64-bit support Added optional parameterized test support Added optional verbose floating point support Added pointer asserts and size options Added array asserts for all...

View Article
Browsing all 10 articles
Browse latest View live