Gestionarea Build urilor - sebiboga/testlink-upgraded GitHub Wiki
Gestionarea Build-urilor 📦
Ce este un Build?
Un Build este o versiune specific de software pe care o testezi.
Code Repository
↓
Compilare/Package
↓
BUILD v1.5.0 RC1
├─ Versiune: 1.5.0
├─ Tip: Release Candidate (RC1)
├─ Data Build: 2024-02-10
├─ Commit: abc123def456
└─ Status: Ready for QA
Exemplu Real
Banking Application Builds:
v1.4.0 STABLE
├─ Data Release: 2024-01-15
├─ Status: Production (Deployed)
├─ Platform: Live
└─ Users: Millions
v1.5.0 RC1
├─ Data Build: 2024-02-08
├─ Status: Testing (QA)
├─ Platform: Testing
└─ Testers: QA Team
v1.5.0 RC2
├─ Data Build: 2024-02-12
├─ Status: Testing (QA)
├─ Platform: Testing
├─ Bugs Fixed From RC1: 5
└─ New Tests: 50
v2.0 DEV
├─ Data Build: Daily
├─ Status: Development
├─ Platform: Dev
└─ Features: In Progress
Build vs Version vs Release
| Termen | Semnificație | Exemplu |
|---|---|---|
| Version | Release logic (semantics) | v1.5.0, v2.0, v3.1.2 |
| Build | Actual executable packaged | Banking_v1.5.0_RC1_build_20240210.exe |
| Release | Build deployed to production | Banking v1.5.0 released Feb 15 2024 |
| Patch | Bug fix release | v1.5.1, v1.5.2 (hotfixes) |
Relația:
Version (plan) → Build (actual) → Release (deployed)
v1.5.0 → RC1, RC2 → GA (General Availability)
Build Lifecycle
DEVELOPMENT PHASE
Code → Compile → Build v1.5.0 DEV (daily)
↓
TESTING PHASE
Build v1.5.0 RC1 (Release Candidate 1)
↓ (bugs found)
← Fix bugs
Build v1.5.0 RC2 (Release Candidate 2)
↓ (no more blockers)
← Approved
Build v1.5.0 GA (General Availability - Final)
↓
PRODUCTION PHASE
Deployed to Production
↓
SUPPORT PHASE
Hotfixes → Build v1.5.1, v1.5.2, etc
Build Naming Convention
Semantic Versioning (Recommended)
MAJOR.MINOR.PATCH-TYPE+BUILD
Exemplu: 1.5.0-RC1+20240210
Componentități:
├─ MAJOR (1) = Major features / Breaking changes
├─ MINOR (5) = New features / Non-breaking changes
├─ PATCH (0) = Bug fixes only
├─ TYPE = DEV, RC (Release Candidate), GA (General Availability), HOTFIX
└─ BUILD = Build number / Date
Tipuri Build:
| Tip | Semnificație | Exemplu | Testare |
|---|---|---|---|
| DEV | Development builds | v2.0-DEV+20240210 | Internal |
| ALPHA | Early testing | v2.0-ALPHA+01 | Limited testers |
| BETA | Wider testing | v2.0-BETA+01 | Beta users |
| RC | Release Candidate | v1.5.0-RC1, RC2 | Full QA |
| GA | General Availability | v1.5.0 (final) | Production |
| HOTFIX | Bug fix release | v1.5.1, v1.5.2 | Urgent |
Creare Build în TestLink
Cine poate: Administrator, Project Manager
Pași:
- Mergi la Proiect → Setări → Build-uri
- Apasă Adaugă Build Nou
- Completează:
| Camp | Descriere | Exemplu |
|---|---|---|
| Nume Build | Versiune + tip | v1.5.0 RC1 |
| Data Build | Când a fost creat | 2024-02-10 |
| Descriere | Note despre build | "RC1: 5 bugs fixed from DEV" |
| Build Notes | Changelog | "- Login fix\n- Payment timeout" |
- Apasă Salvează
Exemplu Complet:
Nume Build: v1.5.0 RC1
Data: 2024-02-10 14:30
Status: Open (pentru testing)
Descriere:
First release candidate for v1.5.0
Contains all features from v1.4 plus:
- OAuth login support
- Mobile responsive UI
- Payment improvements
Build Notes:
Fixed bugs from dev:
- Login timeout issue
- Transfer validation
- Report generation delay
Known Issues:
- Dark mode not fully tested
- Some edge cases in report export
Testing Status:
- Started: 2024-02-10
- Target Completion: 2024-02-15
- Test Cases: 250
Build Status
Status Lifecycle:
| Status | Semnificație | Acțiuni |
|---|---|---|
| Open | Active testing | Execute tests, report bugs |
| Release Ready | Gata de lansare | Final approval, deploy |
| Closed | Lansat / Arhivat | No new tests, historical |
| On Hold | Temporar suspendat | Waiting for fix/decision |
Schimbă Status:
- Proiect → Build → [Selectează Build]
- Apasă Editează Status
- Selectează nou status
- Apasă Salvează
Open → Release Ready → Closed
↑ ↓
└─── On Hold ←──────────┘
Legare Build cu Test Plans
Fiecare Test Plan trebuie legat cu un Build specific!
Setup:
- Crezi Test Plan
- Selectezi Build: v1.5.0 RC1
- Build determina versiunea pe care se testează
Test Plan: Banking v1.5 Testing
├─ Build Target: v1.5.0 RC1
├─ Test Cases: 250
├─ Platforms: Windows, Mac, iOS, Android
└─ Testers: 4 persoane
Execuție:
- Testează EXACT build-ul v1.5.0 RC1
- Nu testezi versiuni vechi
- Nu testezi versiuni mai noi
Build Tracking
View Build Status:
Build: v1.5.0 RC1
├─ Status: Open
├─ Test Progress: 180/250 (72%)
├─ Pass Rate: 85%
├─ Bugs Found: 30
├─ Date Start: 2024-02-10
├─ Deadline: 2024-02-15
└─ Days Left: 3
Build Dashboard:
All Builds in Project:
v1.4.0 (GA)
├─ Status: Closed ✅
├─ Release Date: 2024-01-15
├─ Tests: 200/200 Pass
└─ Production: Live
v1.5.0 RC1
├─ Status: Open 🔄
├─ Testing: 72% done
├─ Bugs: 30 found, 15 fixed
└─ Est. End: 2024-02-15
v1.5.0 RC2 (Planned)
├─ Status: Pending (waiting RC1 completion)
├─ Expected: 2024-02-16
└─ Purpose: Final verification
v2.0 DEV
├─ Status: Development
├─ Features: 60% complete
└─ Est. Alpha: 2024-04-01
Upgrade Build în Plan
Dacă e buguri în RC1 și crezi RC2:
Opțiunea 1: Crezi Nou Plan
- Crezi Test Plan cu RC2
- Copii test cases de la RC1
- Re-execuți pe RC2
Opțiunea 2: Schimbă Build
- Plan → Setări
- Change Build de la RC1 la RC2
- Reset rezultate (opțional)
- Re-execuți
Original Plan (RC1):
├─ 250 tests
├─ Results: 180 pass, 30 fail
└─ Bugs: 30
After Upgrade (RC2):
├─ Same 250 tests
├─ Results: Reset (noi build)
└─ Status: Re-test all
Build Comparison
Compară cum merge pe versiuni diferite:
Build Comparison Report:
Metrica | v1.4.0 | v1.5.0 RC1 | v1.5.0 RC2
--------|--------|------------|----------
Tests Pass | 200/200 | 180/250 | 240/250
Pass Rate | 100% | 72% | 96%
Bugs | 0 | 30 | 10
Critical | 0 | 5 | 0
Platform Coverage | 3 | 4 | 4
Build Date | Jan 15 | Feb 10 | Feb 12
Analysis:
- RC1: More bugs (new features)
- RC2: Better (5 bugs fixed)
- Ready for GA (0 critical)
Hotfix Builds
Urgent bug fix après GA release:
v1.5.0 GA (Production)
↓ (critical bug found)
v1.5.1 HOTFIX
├─ Only: Bug fix for issue #2024-001
├─ Date: 2024-02-18 (2 hours)
├─ Deploy: 2024-02-18 evening
└─ Rollout: Prod (5 min deploy)
v1.5.2 HOTFIX (sau next regular v1.6.0)
Build Release Notes
Fiecare build trebuie Release Notes:
Banking Application v1.5.0 GA - Release Notes
==============================================
Release Date: 2024-02-15
Build Date: 2024-02-10
NEW FEATURES:
✅ Google OAuth login
✅ Mobile responsive interface
✅ Real-time notifications
✅ Transaction history export
BUG FIXES:
🔧 Fixed login timeout
🔧 Fixed payment validation
🔧 Fixed report generation delay
🔧 Fixed email notification sender
IMPROVEMENTS:
⚡ Faster page load time (30% improvement)
⚡ Reduced database queries
⚡ Better error messages
KNOWN ISSUES:
⚠️ Dark mode not fully tested (will be in v1.6)
⚠️ Some edge cases in report export
⚠️ Mobile Safari: minor UI misalignment
PLATFORM SUPPORT:
✅ Windows 10+, macOS 10.14+
✅ iOS 13+, Android 8+
✅ Browsers: Chrome, Firefox, Safari, Edge
INSTALLATION:
Download: https://banking-app.com/downloads/v1.5.0
Changelog: https://banking-app.com/changelog
Support: [email protected]
MIGRATION:
- Auto-upgrade from v1.4.0
- Data compatibility: YES
- Rollback possible: YES (within 24h)
Build Management Best Practices
✅ DO:
- Crează build cu versioning clar
- Document changelog complet
- Link build cu test plan specific
- Track progress zilnic pe build
- Archive build complet după release
- Keep multiple versions pentru support
❌ DON'T:
- Nu testa pe versiuni mixte
- Nu refolosești build number-uri
- Nu lansa fără release notes
- Nu ștergi build-uri (arhivează)
- Nu ignora bug fixes în RC
Workflow Tipic Build
DEVELOPMENT (Week 1-2)
- Code development
- Daily DEV builds
- Internal testing
TESTING PHASE 1 (Week 2-3)
- Build RC1
- Full QA testing
- 30 bugs found
- Bug fixes
TESTING PHASE 2 (Week 3)
- Build RC2
- Regression testing
- 5 bugs remain
- More fixes
FINAL VERIFICATION (Week 3-4)
- Build RC3 (final)
- Smoke testing
- 0 critical bugs
- Approved
RELEASE (Week 4)
- Build GA v1.5.0
- Deploy to production
- Monitor 24/7
- Support ready
POST-RELEASE (Week 4+)
- Hotfix builds if needed
- Monitor metrics
- Plan next version
Storage & Retention
Build Artifact Storage
Build Server:
├─ v1.4.0 (keep forever - production)
├─ v1.5.0 RC1 (delete after v1.5.0 GA)
├─ v1.5.0 RC2 (delete after v1.5.0 GA)
├─ v1.5.0 GA (keep forever - production)
├─ v2.0 DEV (daily, keep last 7)
└─ v2.0 ALPHA (when available)
Retention Policy:
- GA releases: Forever
- RC releases: Until GA released
- DEV builds: Last 7 days
- Hotfixes: Forever
Gata cu Build-uri? Merge la Planuri de Test pentru a vedea cum se folosesc! 📅