Matrix Strategy

Dynamic Matrix Strategies: Generating Runtime Tests

Dynamic Matrix Strategies: Generating Runtime Tests

Your test suite covers 6 browsers. You hard-coded them in a static matrix. Today the spec added a seventh. You edited the matrix, committed, and waited for CI. Tomorrow there will be an eighth.

A static strategy.matrix works until the test dimensions change — then it becomes a maintenance liability. …