jejacks0n / teaspoon

Teaspoon: Javascript test runner for Rails. Use Selenium, BrowserStack, or PhantomJS.
1.43k stars 243 forks source link

Allow to configure driver path #542

Closed thromera closed 6 years ago

thromera commented 6 years ago

I'm looking at a way to tell Teaspoon where the driver is installed. For now, it looks only in ~/.driver, which is not suitable for caching in circleCI.

For instance with PhantomJS, I would like to do DRIVER_PATH=my_cached_folder/phantomjs bundle exec teaspoon

Thanks.

jejacks0n commented 6 years ago

It just looks in your PATH for it. If you want to, you can just do something like (speculating, haven't tried it):

PATH="my_cached_folder:$PATH" bundle exec teaspoon
thromera commented 6 years ago

It doesn't work, I just tried it.

I don't want to be agressive, wondering why you close the issue without letting me the time to:

  1. Explain furthermore if needed
  2. Try your solution to see if it works
  3. Actually closing while speculating

Thanks!

jejacks0n commented 6 years ago

Because if it’s in your path it should work. Literally for everybody else that’s ever used it that’s true. If you can get a response from which phantomjs it works in teaspoon. This isn’t a support channel, I’m simply explaining how it works, I didn’t mean to offend by closing your issue.


Jeremy Jackson

On May 25, 2018, at 9:59 AM, Thomas Romera notifications@github.com wrote:

It doesn't work, I just tried it.

I don't want to be agressive, wondering why you close the issue without letting me the time to:

Explain furthermore if needed Try your solution to see if it works Actually closing while speculating Thanks!

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.