EEVblog Electronics Community Forum

Electronics => Microcontrollers => Topic started by: FlyingDutch on December 08, 2018, 09:23:41 am

Title: Looking for "Unit Tests" framework for Ride7 + RKit-ARM (IDE, compiler)
Post by: FlyingDutch on December 08, 2018, 09:23:41 am
Hello,

I am developing complex application for STM32F103xx MCU. Hardware is consisted of several boards (up to 8 - every has STM32F103 on-board) connected together by "CAN" bus. Code is written with use of "Standard Peripheral Library" for ARM-CortexM3. This is inheritance of project origins - research project from "University of Technology". The system is still under active development.

I am using for development of it "Ride7" with "RKit-ARM for Ride7". I am glad of Ride7 IDE and compiler (and debugging features). I have commercial "enterprise" licence for these two products.

This system complexity is high now, and I am still adding new features. I think it is about time to add unit tests for project.

I was looking for "Unit test" framework for "Ride7 with RKit-ARM, but it wasn't succesfull.

I only found this:

http://support.raisonance.com/conten...mating-testing (http://support.raisonance.com/conten...mating-testing)

ftp://www.raisonance.com/pub/Support/Ride7/ (http://ftp://www.raisonance.com/pub/Support/Ride7/)

, but this solution not meet my needs.

Maybe someone was using tool for automatic testing with Ride7 (ARM) and could to share his knowlede.

Thanks in advance.
Title: Re: Looking for "Unit Tests" framework for Ride7 + RKit-ARM (IDE, compiler)
Post by: nugglix on December 08, 2018, 09:32:03 am
Sounds legit...

But wouldn't it have been a great idea to specify your "needs"?

So it's up to wild guessing and the thread will derail even faster as usual.
Title: Re: Looking for "Unit Tests" framework for Ride7 + RKit-ARM (IDE, compiler)
Post by: FlyingDutch on December 08, 2018, 09:55:22 am
Hello,

OK these features is "a must":

1) The ability to define "unit test" in code (using Ride7 IDE)
2) The ability to run defined "unit test" for IDE (or their groups defined before)
3) See coverage and results of "unit tests" (best in graphical way)
4) The ability to "debug" particular "unit test"

All of these features should be available from IDE (for example from menu).

I am looking for something similiar to frameworks for "Unit tests" for other languages like C# or Java. For example  something similiar to "JUnit" for Java:

https://www.tutorialspoint.com/junit/junit_overview.htm (https://www.tutorialspoint.com/junit/junit_overview.htm)

But for C language and has ability to integrate with "Ride7" IDE.

regards
Title: Re: Looking for "Unit Tests" framework for Ride7 + RKit-ARM (IDE, compiler)
Post by: legacy on December 08, 2018, 12:21:43 pm
Cantata might be a choice  :-//
Title: Re: Looking for "Unit Tests" framework for Ride7 + RKit-ARM (IDE, compiler)
Post by: FlyingDutch on December 08, 2018, 04:16:00 pm
Hello,

it looks interesting. I have to read more about posibility to integrate it with existing project in Ride7 IDE.

Thanks a lot.