[EN] Crystalball: predicting test failures / Alex Rodionov @p0deje - YouTube

Tests are often slow and are a bottleneck in development. We build complex CI systems with heavy parallelization to reduce the amount of time it takes to run all the tests, but we still tend to run all of them even for the slightest change in code. What if instead, we could run only the tests that might fail as a result of our changes? In a world of static languages, it's not hard, but Ruby is very flexible and dynamic language so implementing this idea is tricky.Meet Crystalball (https://toptal.github.io/crystalball/) - a regression test selection library we built in Toptal. I'll demonstrate how to use it with RSpec, how it predicts what tests to run and how it can be extended.
[EN] Crystalball: predicting test failures / Alex Rodionov @p0deje - YouTube #ruby #rubydeveloper #rubyonrails #test #youtube https://rubyonrails.ba/single/en-crystalball-predicting-test-failures-alex-rodionov-p0deje-youtube

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles