This shows you the differences between two versions of the page.
|
tsc:laboratoare:laborator-05 [2025/03/26 19:02] dragos.sandulescu97 [pytest ] |
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 | + | $ pytest -v test_TSC.py -- Pentru o rulare detaliata a testelor - de preferat aceasta optiune |
| </code> | </code> | ||
| Line 425: | 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. | ||