embedded_testing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
embedded_testing [2018/09/18 14:35] adminembedded_testing [2026/06/08 20:14] (current) admin
Line 1: Line 1:
 ====== Docker ====== ====== Docker ======
-We can use Docker to set up a stable and repeatable environment where our firmware is built and unit tested. Furthermore, we can use access the hardware from the container to perform integration testing.+We can use Docker to set up a stable and repeatable environment where our firmware is built and unit tested. Furthermore, we can use access the hardware from the container to perform integration testing. A shared directory will allow us to access our code from within the containerized environment. 
 + 
 +from https://dev.to/djangostars/what-is-docker-and-how-to-use-it-with-python-tutorial-87a: 
 + 
 +  * 1 application = 1 container. 
 +  * Run the process in the foreground (don't use systemd, upstart or any other similar tools). 
 +  * Keep data out of containers – use volumes. 
 +  * Do not use SSH (if you need to step into container, you can use the docker exec command). 
 +  * Avoid manual configurations (or actions) inside container. 
 + 
 +https://dev.to/dalimay28/using-docker-for-embedded-systems-development-b16 
 + 
 +https://blog.feabhas.com/2017/09/introduction-docker-embedded-developers-part-1-getting-started/ 
 + 
 +https://ownyourbits.com/2017/06/20/c-build-environment-in-a-docker-container/ 
 + 
 + 
 +  # install colorgcc 
 +  export PATH=/home/docker/bin:$PATH 
 +  wget https://raw.githubusercontent.com/olibre/colorgcc/master/colorgcc.pl 
 +  wget https://raw.githubusercontent.com/olibre/colorgcc/master/colorgccrc 
 +  sudo apt-get install perl-modules-5.26 
 +  ln -s colorgcc.pl arm-none-eabi-gcc 
 +  ln -s colorgcc.pl arm-none-eabi-ld  
 + 
 + 
  
 ====== Unit testing ====== ====== Unit testing ======
Line 12: Line 38:
  
 <color /#FFff00>[[http://eradman.com/posts/tdd-in-c.html]]</color> <color /#FFff00>[[http://eradman.com/posts/tdd-in-c.html]]</color>
 +
 +http://www.electronvector.com/
 +
 +<color /#FFff00>[[https://embeddedartistry.com/blog/2018/10/15/embedded-systems-testing-resources]]</color>
 +
 +https://interrupt.memfault.com/blog/unit-testing-basics
  
 framekworks: framekworks:
Line 24: Line 56:
 https://wiki.jenkins.io/display/JENKINS/Test+Results+Analyzer+Plugin https://wiki.jenkins.io/display/JENKINS/Test+Results+Analyzer+Plugin
  
 +https://community.arm.com/developer/tools-software/tools/b/tools-software-ides-blog/posts/implementing-embedded-continuous-integration-with-jenkins-and-docker-part-1
  
 +https://github.com/features/actions
  • embedded_testing.1537281317.txt.gz
  • Last modified: 8 years ago
  • by admin