Embedded System Testing with RKTracer Code Coverage metrics

Measure embedded code coverage across toolchains, targets, and CI—without disrupting your build workflow.

Embedded system testing becomes more reliable when you can prove what your tests actually executed.


RKTracer helps teams collect code coverage on host machines, simulators/emulators, and real embedded hardware then generate clear reports for engineers and CI dashboards.

Capabilities of the RKTracer

RKTracer is a multi-language, multi-platform code coverage tool that supports embedded workflows across compilers, IDEs, and targets.

  • Integrates with existing development and test environments.
  • Works with compilers and cross-compilers across embedded toolchains.
  • Collects code coverage while you run your existing tests on host or target hardware.
  • Generate code coverage metrics for unit tests, integration tests and functional tests on a host or embedded target.
  • Supports changed-code reporting (Delta/modified-line coverage) and mutation coverage for deeper confidence.

Advantages

  • 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

Full control over how you run unit tests

  • 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.

How RKTracer fits into embedded system testing ?

RKTracer integrates with common embedded IDEs and toolchains such as IAR Embedded Workbench, Code Composer Studio, and Keil uVision.

Enable RKTracer, rebuild, run tests on a simulator or target, save coverage data, and generate reports using RKTracer reporting—without changing your build system..

Embedded Development

The RKTracer tool is easy to use and seamlessly integrates with your existing development and build toolchains for your software projects. You can work with common development environments such as IAR embedded workbench IDE, Code Composer Studio IDE ,Keil uVision IDE and many more IDEs.

Furthermore, your test projects can be executed on multiple platforms. Thus, you can use the RKTracer tool for both host-based development testing and testing in the final embedded hardware environment. As a result, you are able to test your software in real world situations, which ensures the best possible functionality.

You can use RKTracer tool in any IDEs and easily generate test coverage report just by following few simple steps. More specifically you just need to Turn ON the RKtracer tool then Rebuild the application and run test in simulator or embedded target and save coverage data from target. Your coverage data file ready in your project working directory. Finally, select RKTracer Report to get your user-friendly code coverage report with you.

RKTracer tool can be easily installed and integrated on any platform, and it will allow you to set up you’re testing on your specific targets. All RKTracer inputs and outputs will be stored in coverage data file in your building machine which will make it easier for you to analyze anything at any time.

Try RKTracer free for 30 days

Questions? Email info@rkvalidate.com