Skip to content

Simple project for learning Test Driven Development, CMake build system and run unit test on hardware

Notifications You must be signed in to change notification settings

PUrban96/Alarm_UnitTestHw_TEST

Repository files navigation

Feature

  • Build target for run unit test on PC (with Unity framework)
  • Build target for run unit test on target hardware (with Unity framework)
  • Visual Studio Code tasks for build and programming (test application)
  • Simple unit test for "vbat" file

Hardware

  • Main CPU: STM32F446RET6U (Nucleo-F446RE)

How to run uint test on PC:

  • 1. Run "CMAKE build vbat_test" task in VSCode
  • 2. Run "build vbat_test" task in VSCode
  • 3. Run "run vbat_test" task in VSCode

How to run uint test on STM:

  • 1. Run "CMAKE build vbat_test_HW" task in VSCode
  • 2. Run "build vbat_test_HW" task in VSCode
  • 3. Connect target hardware
  • 4. Run "Programming unit test" task in VSCode

How to programming application:

  • 1. Run "CMake: Build" task in VSCode
  • 2. Run "Programming app" task in VSCode

Licence

License: GPL v3

About

Simple project for learning Test Driven Development, CMake build system and run unit test on hardware

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages