Files
Bash_Scripts/README.md
2025-12-23 18:37:13 +00:00

27 lines
735 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# DevOps Bash Tests
## Descriere
Acest proiect conține o aplicație simplă (`calculator.sh`), teste automate și un script DevOps (`run_tests.sh`) care rulează toate testele.
## Structură
- `app/` codul aplicației
- `tests/` teste automate
- `run_tests.sh` scriptul principal care rulează toate testele
## Cum rulezi testele manual
1. Deschide terminalul în directorul proiectului
2. Fă scripturile executabile:
```bash
chmod +x run_tests.sh tests/*.sh app/*.sh
## Ruleaza testele
./run_tests.sh
## Cum funcționează
- Scriptul parcurge toate testele din folderul tests/
- Rulează fiecare test
- Afișează PASS/FAIL
- Returnează codul 0 dacă toate testele au trecut, 1 dacă cel puțin un test a eșuat