xolvio / meteor-rtd-example-project

A template project to use for creating a meteor app with unit and webdriver testing
91 stars 27 forks source link

Missing install instructions #7

Closed alanning closed 11 years ago

alanning commented 11 years ago

A couple more pieces that are required before end-to-end testing works:

1.

npm install -g jasmine-node

2. You should download the latest chromeDriver and move it into a location in your PATH http://code.google.com/p/chromedriver/downloads/list To see the folders in your PATH, do the following... Linux/Mac:

echo $PATH Win: echo %PATH%

xolvio commented 11 years ago

Thanks Adrian, funnily enough I've just came to the same conclusion. I had chromedriver in the same directory as selenium-server and was not aware that's why it worked.

In any case, if you look here: https://github.com/xolvio/rtd - this is git submodule you can add. This version downloads selenium if it doesn't exist. I'll make it also do chrome.

Thanks for the correction, I'll iterate once this project uses the submodule also.

alanning commented 11 years ago

Yeah, its hard to distinguish that kind of stuff when it's our main dev box. I've recently been setting up a VirtualBox to use to test deployment scripts (using pallet) and am running into similar issues.

One thing I'm surprised about is that the jasmine-node piece needs to be installed globally rather than locally. Any ideas as to why that is?

Sent from my phone

On Apr 26, 2013, at 4:03 PM, Xolvio notifications@github.com wrote:

Thanks Adrian, funnily enough I've just came to the same conclusion. I had chromedriver in the same directory as selenium-server and was not aware that's why it worked.

In any case, if you look here: https://github.com/xolvio/rtd - this is git submodule you can add. This version downloads selenium if it doesn't exist. I'll make it also do chrome.

Thanks for the correction, I'll iterate once this project uses the submodule also.

— Reply to this email directly or view it on GitHubhttps://github.com/xolvio/real-time-development-with-meteor/issues/7#issuecomment-17097031 .

xolvio commented 11 years ago

Because it's a command line tool, I believe. It would also be possible to require jasmine and then have it run as a standard node app

alanning commented 11 years ago

Ahh, that makes sense. Somehow I thought Grunt would set up something fancy re: PATH management but it wouldn't actually know its an executable so don't think that would work.

On Fri, Apr 26, 2013 at 4:28 PM, Xolvio notifications@github.com wrote:

Because it's a command line tool, I believe. It would also be possible to require jasmine and then have it run as a standard node app

— Reply to this email directly or view it on GitHubhttps://github.com/xolvio/real-time-development-with-meteor/issues/7#issuecomment-17098222 .