SONiC Unit Test and Function Test Enhancement - Edgecore
SONiC Unit Test and Function Test Enhancement - Edgecore
Taskin Ucpinar
EdgeCore
Testing at Edgecore
• End-to-end testing in development
workflow
• Coverages and Automation
• HW platform validations
• Pre-SI RAS, Performance testing
• Sonic ecosystem integrations
AS7712-32X AS9716-32D
AS7816-64X AS7212-54X AS6712-32X
AS7312-54XS AS4222-28PE
TO BE ANNOUNCED DURING
AS5712-54X AS7312-54XS AS7716-32X OCP
LAG IPv6
SONiC201705 0.9.4 18 9
SONiC201709 0.9.4 8 4
SONiC201712 1.0 7 2
SONiC201803 1.2 5 2
SONiC201807 1.3 3 0
SONiC201811 1.3 6 2
SONiC.201903 TBD 16 1
Total 63 20
▪ Test
units/components/functions/functionality
▪ Not only for testing, but for educational
purposes
▪ Independent on features/platforms
▪ Unit Tests: Typically implemented by
100% 68.3%
Coverage
Automation Hardening
A • Features
All Features with Tests
Missing Tests
• Coverage % Unknown • Stability Improvements
• Auto detect and execute
• Stability Unknown • Measure Coverage %
• Regression Testing
• New tests
CI/CD PyUnit