Unit Test Case Generator

RKTracer Unit Testing tool

The RKTracer tool can help you save time, effort, and money while verifying embedded systems and desktop applications. It aids in the automated generation of unit test cases in GTest and integration tests for C and C++ code, as well as the generation of code coverage data. 

You can run unit tests within your development workflow. 

You can run unit tests and integration tests on the build machine or embedded targets and verify that application code behaves as expected

You can also add the RKTracer unit test cases generated to existing applications as well as integrate them directly with continuous test environments

Capabilities of the RKTracer

  • You can integrate the RKTracer automation tool into your existing development or testing environments.
  • Generates unit test cases for applications written in C and C++, such as games, GUIs, Android apps, device drivers and embedded systems.
  • Generate code coverage metrics for unit tests and integration tests for application testing on the host platform or embedded target.
  • Improve your testing processes by generating code coverage analysis reports and mutation coverage reports.


  • C and C++ support for C89, C90, C95, C99, C11, C17, C++98, C++03, C++11, C++14, C++17, C++20.
  • Supports Windows, Linux and Mac OS platforms.
  • Supports all compilers, cross-compilers, simulators and embedded systems architectures.
  • Comes with a plugin for IDEs, Continuous integration.
  • Supports testing on host, simulator, emulator and embedded targets.
  • Generates reports in HTML,XML and many more.
  • Supports Command line integration.
  • Support for Jenkins, Azure Devops and SonarQube

Integrates with existing developmental or build environments IDEs or CMD.

As one needs to just enable or prefix rktracer to build the system

Automatically detects and adds runtime library for cross-platform embedded systems

Automatic unit tests generation in unity framework or googletest/GTest framework or custom framework of your choice.

Full control over how you run unit tests on embedded targets.

  • Function Coverage,
  • Line Coverage: In Depth coverage analysis with covered(green), partial(yellow) and uncovered(red)
  • Statement Coverage, 
  • Decision Coverage, 
  • Condition Coverage, 
  • MC/DC Coverage 
  • Multiple Condition Coverage.
  • Mutation Coverage and Coverage for refactored codes.
  • Supports Agile and Test Driven Development.

Generating unit tests

One or more source code files can be used to generate unit tests. RKTracer Parses the source code to generates a .json file of the code that can be used to generate unit tests. Unit tests for C and C++ can be generated in projects folder.

  • You can generate test case for selected function.
  • You can generate multiple test cases based on the requirement with user defined input values and expected output.
  • You can either generate unit test in google test or unity framework
  • You can fully customize the auto generated unit test cases.

How it works ?

Integrate RKTracer with existing build environment through command line interface or IDEs for example, IAR Embedded Workbench IDE, Keil uVision IDE, Visual Studio IDE, and many more

Activate the RKTracer tool and rebuild applications in your build environment. The RKTracer tool will auto detect the compiler or cross compiler and add the runtime time libraries (zero time spent on tool configuration) to your project build system.

Create  and add auto unit tests to your application.

You can run unit tests on your native host or embedded device, independently of the rktracer tool, in your existing build setup or test environment.

With just a click of the mouse, generate code coverage reports for your application.

Don’t take our word for it. Try RKTracer tool for free?

Got Questions ? Email us @ info@rkvalidate.com or call us +91-8971088344