cancel
Showing results for 
Search instead for 
Did you mean: 

regression environment building for stm32 project

838445810
Associate II
Posted on June 16, 2014 at 10:48

hi,all

I'm now working on a project using stm32f103.

And I need to build up an environment for unit testing, regression testing and code coverage testing .

Any tools or solution?

Many thanks.

#stm32-regression-test
6 REPLIES 6
frankmeyer9
Associate II
Posted on June 16, 2014 at 16:10

http://atollic.com/index.php/truestudio

probably has the features you looking for, called TrueAnalyzer and TrueVerifier.

838445810
Associate II
Posted on June 17, 2014 at 03:33

Thank you my friend.

TrueStudio maybe is an option.

I wonder if any open source solution or free tools we can access to.

chen
Associate II
Posted on June 17, 2014 at 10:07

Hi

Personally, I hate Atollic with a passion. The automated unit tests is only something fancy to impress a manager during a sales demo. Never used it myself.

Here is a list of test frame works :

http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks

Personally, I have used CUint/Cunit lite and CppUnit

I integrated them into a makefile and ran it as part of the build process.

frankmeyer9
Associate II
Posted on June 17, 2014 at 13:15

Personally, I hate Atollic with a passion. The automated unit tests is only something fancy to impress a manager during a sales demo. Never used it myself.

 

I personally tried it about 2 years ago, and it messed up the project ...

Not sure about about it's state now. While I do hate Eclipse-based IDEs (including Atollic TrueStudio too), external unit testing for small MCUs is most often the same mess. One of my former companies failed miserably, and gave up quickly on that (one of the few occasions they actually learned ...).

I integrated them into a makefile and ran it as part of the build process.

 

That requires makefile support on the IDE side, which is seldom given, or has awkward support. Most IDE have their own proprietary project/build configuration file format, sometimes creating makefiles on the fly.

Having it integrated in the IDE and automatable is definitive an advantage  - if it works reliable. But finally it is the OP's task to evaluate this tool (and possibly a bunch of others) before jumping straight in.

Posted on June 17, 2014 at 16:31

I wonder if any open source solution or free tools we can access to.

What does Google say? You're unlikely to find commercial grade solutions for free, there's no money in that business. If your time is free (or a buried cost), and you are resourceful you may be able to come up with your own solutions.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
838445810
Associate II
Posted on June 18, 2014 at 18:16

hi

No offence. It's not that about commercial or free.

I would rather know how you guy work out in this case.

Like Chen said above, he write his own makefile.

That's an good option I think.

We may still have other options we can figure out.

Many thanks guys. Appreciated.