iwinux

吐槽一下运行测试所需的时间

  •  
  •   iwinux · Feb 4, 2011 · 5998 views
    This topic created in 5620 days ago, the information mentioned may be changed or developed.
    环境:Ruby 1.9.2 + Rails 3 + RSpec 2.3 + Spork

    80 examples 用了 2m7s

    Google 了一下,发现这个问题很普遍。今晚看到最强的一个优化测试运行速度的例子是 http://grease-your-suite.heroku.com

    但是这个太繁琐,连 distributed testing 都用上了 =。=
    1 replies    1970-01-01 08:00:00 +08:00
    roamlog
        1
    roamlog  
       Feb 4, 2011 via iPod
    更新一下 rspec 呢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2702 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 15:35 · PVG 23:35 · LAX 08:35 · JFK 11:35
    ♥ Do have faith in what you're doing.