This shows you the differences between two versions of the page.
tsc:laboratoare:laborator-05 [2024/03/29 12:42] dragos.sandulescu97 [Exerciții - WIP - termin pana pe 29. Scuze :( ] |
tsc:laboratoare:laborator-05 [2025/04/07 13:20] (current) giorgiana.vlasceanu [Exerciții ] |
||
---|---|---|---|
Line 90: | Line 90: | ||
<code teraterm> | <code teraterm> | ||
$ pytest test_TSC.py | $ pytest test_TSC.py | ||
+ | $ pytest -v test_TSC.py -- Pentru o rulare detaliata a testelor - de preferat aceasta optiune | ||
</code> | </code> | ||
Line 424: | Line 425: | ||
==== Exerciții ==== | ==== Exerciții ==== | ||
- | https://github.com/Ingineria-Calculatoarelor-ACS-UPB/unit-testing-1-lab | + | Pentru a clona [[https://github.com/cs-pub-ro/systems-testing | repo-ul]] și a accesa resursele aferente laboratorului: |
+ | <code bash> | ||
+ | student@tsc:~$ git clone git@github.com:cs-pub-ro/systems-testing.git | ||
+ | student@tsc:~$ cd systems-testing/laboratories | ||
+ | student@tsc:~/laboratories$ cd unit-testing-1 | ||
+ | </code> | ||
+ | |||
+ | Dacă aveți local [[https://github.com/cs-pub-ro/systems-testing | repo-ul]], asigurați-vă că aveți ultima versiune. | ||
+ | |||
+ | <code bash> | ||
+ | student@tsc:~$ cd systems-testing | ||
+ | student@tsc:~$ git pull | ||
+ | </code> | ||
+ | |||
+ | |||
+ | Realizați o serie de teste care să acopere funcționalitatea codului și a edge-cases descoperite. Punctearea este influențată de acoperirea testelor realizate. | ||