GithubHelp home page GithubHelp logo

Comments (2)

jondkinney avatar jondkinney commented on July 28, 2024

I'd like to add that it's pretty easy to retain the ability to do single focused tests in Textmate (bypassing specjour) by adding the following Shell Variable (Textmate -> Preferences -> Advanced)...

Variable: TEST_ENV_NUMBER
Value: 1

By doing this it allows you to keep your database.yml configured for specjour but as I said allows a quick focused single test from within Textmate, nice! Though at the moment I only seem to be able to get this working for cucumber. Not sure why rSpec isn't taking the env var...

from specjour.

jondkinney avatar jondkinney commented on July 28, 2024

I now have this working with rSpec and Cucumber. The issue was that I had not setup RVM correctly to reference textmate_ruby. The right way to do that is here: http://rvm.beginrescueend.com/integration/textmate/ and now I can run focused rSpec and Cucumber tests when my machine is configured for specjour as long as that env var is set in the textmate prefs (as mentioned in my previous comment above).

However, I did upgrade my setup to use my wife's macbook pro that just sits downstairs idle all day. It is working great now and cut my time down even more... however, I'm not sure if this is solely a SQL thing but, when the 2 other workers (she has a core duo machine) were spun up they were spun up by specjour as workers 1 and 2 when on my macbook pro i7 I already had workers 1,2,3,4 so with my setup that meant I was back to deadlock city since workers 1,2 on both machine were fighting for testdb1 and testdb2 again. What I ended up doing is on my wife's machine I setup my ODBC.ini to have the DSN for TEST1 and TEST2 point to the test5 and test6 databases. Now it works great, but that feels like some extra configuration I probably shouldn't have had to do. Again, maybe it's just a DSN issue with SQL and FreeTDS/ODBC... but if specjour had recognized that there were already 4 workers started and properly spun up workers 5,6 on her macbook then I wouldn't have had to do anything additional on my end. Just an FYI.

Thanks for the great library!

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.