SmingHub / Sming

Sming - powerful open source framework simplifying the creation of embedded C++ applications.
https://sming.readthedocs.io
GNU Lesser General Public License v3.0
1.48k stars 348 forks source link

Suggestion for Code Quality and CI tools #1718

Open slaff opened 5 years ago

slaff commented 5 years ago

Do you have suggestions for open-source tools that can help us improve the code quality? Add them as comment to this issue with a short description what they do and how to use them. We will analyze the suggestions and see if it would be possible to integrate them in the CI builds.

Security and memory issue detection

mikee47 commented 4 years ago

We need something like Catch. There are already a number of tests already written for the Arduino esp8266 platform, so adopting a standard framework means we don't have to start from scratch.

I'm not suggesting that all testing must be done using the same framework, but that it would supplement the existing applications:

HostTests

Added in #1692 to contain some tests which were written during development of the Host Emulator. Further tests have been formalised and added since. It uses a simple home-baked framework which allows the same tests to be run on real hardware.

SharedComponent

Added in #1724 when build system was restructured, specifically to check the use of local user Component repositories.