Comments (2)
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.
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)
- 0.5.3 won't run with thor-0.15.2 HOT 1
- 0.5.3 prepares but won't run with rspec 2.10.0 HOT 5
- Specjour doesn't work with latest cucumber version HOT 2
- Seems to be incompatible with rspec-core 2.10.1 (fine with 2.10.0) HOT 12
- undefined method `step_mother' for Cucumber::Cli::Main:Class HOT 1
- Using specjour with Rails 3.2 HOT 2
- Rspec 2.11 config issue HOT 10
- Rspec-core current dev > 2.11.1 HOT 5
- cucumber or akephalos error? HOT 2
- Run with cucumber issue HOT 1
- rsync error - should specjour lisrten quit? HOT 2
- Specjour slow when before(:all) is heavily used HOT 7
- Worker tiemout feature? HOT 3
- Not playing well with rspec-core 2.11.1 HOT 3
- Is this project still in development? HOT 7
- Rails 4 compatibility HOT 2
- DNSSD error HOT 2
- Specjour does not work with cucumber version >= 1.2.2 HOT 1
- RSpec 3 - backtrace_clean_patterns HOT 1
- Is this project still alive?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from specjour.