Vorlage für Automatisiertes Testen mit der Programmiersprache C
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
901 B

  1. # Testen in der Programmiersprache C
  2. ## Voraussetzungen
  3. ### Benötigte Software
  4. #### auf ihrem privaten Rechner
  5. - Installieren Sie das Build-Tool `ceedling` (http://www.throwtheswitch.org/ceedling)
  6. - installieren Sie Ruby (https://www.ruby-lang.org/en/downloads/)
  7. #### privat oder Labor
  8. clonen sie folgende Projekte von Github in einem Ordner parallel zu Ihren C-Projekten.
  9. > Zielstruktur:
  10. >
  11. > */Projekte
  12. > +- CMock
  13. > +- Unity
  14. > +- Projekt1
  15. > +- Projekt2
  16. > ...
  17. - *Unity* (Testing-Framework) https://github.com/ThrowTheSwitch/Unity
  18. - *CMock* https://github.com/ThrowTheSwitch/CMock
  19. - im Verzeichnis CMock dieses Kommando ausführen:
  20. `bundle install`
  21. ### Übungsprojekt
  22. - dieses Projekt in ein Verzeichnis parallel zu *Unity* und *CMock* clonen
  23. - in einer *git-bash* diesem Verzeichnis dieses Kommando ausführen:
  24. `sh create_folders.sh`