GithubHelp home page GithubHelp logo

Comments (11)

sandro avatar sandro commented on July 28, 2024

Do you have an older version of specjour installed on either the host machine or any listening worker machines?

from specjour.

coreyhaines avatar coreyhaines commented on July 28, 2024

Nope. Running it all local on a fresh machine. 0.4.0 is the version.

from specjour.

kaeverett avatar kaeverett commented on July 28, 2024

what was the resolution? I have the same issue after installing 0.4.0

from specjour.

sandro avatar sandro commented on July 28, 2024

As far as I know...the issue is unresolved. @kaeverett, what ruby version are you using?

from specjour.

kaeverett avatar kaeverett commented on July 28, 2024

Thanks for responding! I figured it out and have been meaning to post. This is a class loading issue. The only way I've been able to get remote listeners working is to run 'specjour listen' from a RAILS_ROOT (any project) that has specjor in the Gemfile

WIth a few desktops in the office, we've dropped our 30minutes to ~5minutes on a macbook pro. >3k specs
~Ken

from specjour.

coreyhaines avatar coreyhaines commented on July 28, 2024

Awesome, good news. I'll take a look and see about it.

My sweet spec suite takes about 10 seconds (~1000 specs), so I'm
curious to see if I can drop it even further. :)

On Fri, Apr 15, 2011 at 9:16 PM, kaeverett
[email protected]
wrote:

Thanks for responding!  I figured it out and have been meaning to post.  This is a class loading issue.  The only way I've been able to get remote listeners working is to run 'specjour listen' from a RAILS_ROOT (any project) that has specjor in the Gemfile

WIth a few desktops in the office, we've dropped our 30minutes to ~5minutes on a macbook pro.  >3k specs
~Ken

Reply to this email directly or view it on GitHub:
https://github.com/sandro/specjour/issues/22#comment_1011637

http://www.coreyhaines.com
The Internet's Premiere source of information about Corey Haines

from specjour.

sandro avatar sandro commented on July 28, 2024

@coreyhaines probably not. Specjour has some significant overhead when trying to find managers/starting up separate rails processes. It's best used when you're suite takes minutes to complete and you need a cheap solution to speed it up.

from specjour.

coreyhaines avatar coreyhaines commented on July 28, 2024

ah, sad to hear. It runs cucumber scenarios, yeah? That would be nice,
as my scenarios take upwards of 4 minutes to run.

-Corey

On Sat, Apr 16, 2011 at 9:48 AM, sandro
[email protected]
wrote:

@coreyhaines probably not. Specjour has some significant overhead when trying to find managers/starting up separate rails processes. It's best used when you're suite takes minutes to complete and you need a cheap solution to speed it up.

Reply to this email directly or view it on GitHub:
https://github.com/sandro/specjour/issues/22#comment_1013908

http://www.coreyhaines.com
The Internet's Premiere source of information about Corey Haines

from specjour.

sandro avatar sandro commented on July 28, 2024

Yes, though it splits the suite up by file, not by scenario. If one file takes four minutes, you won't see any improvement. Give it a shot. Try running specjour features/. You may need to run it twice if the suite can't handle creating the db and running the tests in the same process (I blame rails 3 scope changes and db eager plugins).

from specjour.

coreyhaines avatar coreyhaines commented on July 28, 2024

Awesome, thanks. I'll try it. We don't have a 4-minute file. :)

On Sat, Apr 16, 2011 at 5:51 PM, sandro
[email protected]
wrote:

Yes, though it splits the suite up by file, not by scenario. If one file takes four minutes, you won't see any improvement. Give it a shot. Try running specjour features/. You may need to run it twice if the suite can't handle creating the db and running the tests in the same process (I blame rails 3 scope changes and db eager plugins).

Reply to this email directly or view it on GitHub:
https://github.com/sandro/specjour/issues/22#comment_1015169

http://www.coreyhaines.com
The Internet's Premiere source of information about Corey Haines

from specjour.

coreyhaines avatar coreyhaines commented on July 28, 2024

Here are the results on my Macbook Air:

without specjour
227 scenarios (1 failed, 4 pending, 222 passed)
1783 steps (1 failed, 1 skipped, 4 pending, 1777 passed)
3m14.550s

real 3m22.767s
user 2m11.719s
sys 0m9.110s

with specjour
227 scenarios (4 pending, 223 passed)
1783 steps (4 pending, 1779 passed)
2m20.609s

real 2m44.640s
user 3m36.905s
sys 0m15.635s

On Sat, Apr 16, 2011 at 5:54 PM, Corey Haines [email protected] wrote:

Awesome, thanks. I'll try it. We don't have a 4-minute file. :)

On Sat, Apr 16, 2011 at 5:51 PM, sandro
[email protected]
wrote:

Yes, though it splits the suite up by file, not by scenario. If one file takes four minutes, you won't see any improvement. Give it a shot. Try running specjour features/. You may need to run it twice if the suite can't handle creating the db and running the tests in the same process (I blame rails 3 scope changes and db eager plugins).

Reply to this email directly or view it on GitHub:
https://github.com/sandro/specjour/issues/22#comment_1015169

http://www.coreyhaines.com
The Internet's Premiere source of information about Corey Haines

http://www.coreyhaines.com
The Internet's Premiere source of information about Corey Haines

from specjour.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.