Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 rspec 测试一个类似报告的 rails 视图,该视图显示了很多数据,并且该视图的固定 yaml 几乎是 2M 大,并且加载固定装置花费了大量时间。
有什么办法可以解决这个问题,如果我只想为所有测试加载一次固定装置,我该怎么办。
为了总体上加快测试执行速度,并且我确信可以包括固定装置的加载,请查看spork。