Unit Tests for Make-based Project

Sysprogs forums Forums VisualGDB Unit Tests for Make-based Project

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36754
    Umair
    Participant

    Hi,

    I’m working on a make-based project for nrf52xxx MCU. My team is using VisualGDB + Visual Studio for development as well as debugging. Now, we want to write Unit Tests for the application using TinyEmbeddedTest Framework,,, but we didn’t find any support related to Unit Tests configuration via makefile.

    For “Advance CMake” projects, It’s really easy to configure Unit Tests, just like;

    find_test_framework(ID com.sysprogs.unittest.tinyembtest)

    How can I configure Unit Tests for Make-based project?

    Thank You!

     

     

    #36755
    support
    Keymaster

    Hi,

    The GNU Make-based projects are much more limited compared to CMake. You can still create test projects with GNU Make via the VisualGDB Project Wizard, however the test project will have to be separate from the main project, and the Makefile structure will have a lot more duplication compared to CMake.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.