4 ms·
> The compile times are OK and are getting better. Our frontend Angular test runs take 25 minutes to run less than 2,000 unit (not integration) tests. That's
by GiorgioG 7y ago
> The compile times are OK and are getting better.
Our frontend Angular test runs take 25 minutes to run less than 2,000 unit (not integration) tests. That's just nonsense. I don't blame Angular so much as I blame the JS ecosystem. For comparison our backend unit test runs (ASP.NET Core) take 3 minutes to run 6,000 tests.
You can argue we're doing something wrong, but as a company with a a thousand or so devs - reaching out to the most experienced frontend devs we have, their answer is: you've got too many tests, split up your SPA into smaller SPAs. Great, more complexity and dependency management hell.