Azure / openapi-diff

Command line tool to detect breaking changes between two openapi specifications
MIT License
253 stars 34 forks source link

Run tests in parallel #301

Closed mikeharder closed 4 months ago

mikeharder commented 4 months ago

Reduces test time on my dev machine from 74s to 15s. Build agent reduced less (71s to 39s) due to less CPU cores.

Dev Machine

Before

Test Suites: 2 passed, 2 total
Tests:       16 passed, 16 total
Snapshots:   0 total
Time:        73.946 s

After

Test Suites: 16 passed, 16 total
Tests:       16 passed, 16 total
Snapshots:   0 total
Time:        15.505 s

Build Agent

Before

Test Suites: 2 passed, 2 total
Tests:       16 passed, 16 total
Snapshots:   0 total
Time:        71.235 s

After

Test Suites: 16 passed, 16 total
Tests:       16 passed, 16 total
Snapshots:   0 total
Time:        38.918 s