概念: CI 测试速度
概念检查 中等
题目
如何能 你速度上 测试 execution in CI?
提示
多个核心能 运行多个测试 at 一次.
解释
运行测试 in parallel 跨越多个工作者是 常见方式到 速度上 CI. Jest supports 这个使用 --maxWorkers=N or --maxWorkers=50%. Other 策略包含缓存 dependencies, 运行仅 affected 测试, and 拆分测试 suites 跨越多个 CI machines. 从不速度上 测试通过移除 assertions or 删除测试.
相关资源
相关课程
- CI 测试
运行测试 in CI 流水线.
查阅不认识的术语
新手友好的术语表用大白话解释编程术语——变量、函数、DOM、Promise 等等。
解读错误信息
用大白话解释常见错误——什么意思、为什么发生、如何修复。
动手做项目
通过引导式项目应用所学,含起始代码与解决方案。