Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BrowserStack support #96

Closed
Iristyle opened this issue Oct 10, 2012 · 27 comments
Closed

BrowserStack support #96

Iristyle opened this issue Oct 10, 2012 · 27 comments

Comments

@Iristyle
Copy link
Contributor

It would be awesome to be able to pipe test runs to a BrowserStack back-end -- see bunyip for examples.

@vojtajina
Copy link
Contributor

Totally.

@appleton
Copy link

Agree that this would be a great addition. I'd love to be able to run tests in IE versions from a CI box.

@dignifiedquire
Copy link
Member

As I could write it but don't have an account with BrowserStack I just sent them an email if they are willing to give me one for creating this feature. So let's see if they are interested.

@dignifiedquire
Copy link
Member

Thanks to BrowserStack I've now got an account with api access. I will start hacking as soon as I find the time!

@rdodev
Copy link
Contributor

rdodev commented Oct 20, 2012

Ha, awesome. Hopefully it won't be too painful.

@dignifiedquire
Copy link
Member

It won't be done in half an hour but I hope that I'm finished in a few days. I'm thinking about api right now and would suggest the following. (Not sure that it will work but it would be quite nice)

browserStack = {
  user: 'username',
  password: 'secret'
};

browsers = ['BS::Firefox', 'BS::iOS', 'BS::Chrome'];

Any other suggestions?

@appleton
Copy link

I think that looks fantastic - it would be great if the API were that simple.

@vojtajina
Copy link
Contributor

Awesome @dignifiedquire ! Having integration with BS would be great.

However, you need a public IP/domain to access testacular running on your machine. How do you want to solve that ?

Do they have http APIs for starting a browser ?

Let me know if you need any help, this is gonna be great !!!

@dignifiedquire
Copy link
Member

It's gonna be a little tricky but I think it should work

  • yes you will need a way to forward your testacular server, right now I'm using forwardhq's 30 day trial
  • Yes I'm using node-browserstack this will allow for starting and stopping the browsers specified + loading specified webpages.
  • I'm not really happy with the tunneling it would be great if there was a way to integrate it but I haven't found a free provider with an automatic api for something like that, so if you have any ideas..

@appleton
Copy link

https://github.com/shtylman/localtunnel might be worth a look?

@dignifiedquire
Copy link
Member

@mrappleton Thanks. That looks great.

@ghost ghost assigned dignifiedquire Oct 22, 2012
@dignifiedquire
Copy link
Member

First screenshot of a tunneled testacular connection :)
Still a lot of work to do but it's growing. Progress can be seen here.

@dignifiedquire
Copy link
Member

As this thing is a little bit bigger than most other stuff I've started writing about it to document what I'm doing and to let every one know how it's coming along. You can find it here.

@Iristyle
Copy link
Contributor Author

Maybe the best part about localtunnel is it's tagline expose yourself to the world ... fits perfectly with Testacular ;0

@dignifiedquire
Copy link
Member

@Iristyle True story :D

@Iristyle
Copy link
Contributor Author

In all seriousness though, great work so far -- thanks so much for baking this out... I wish I could have had the time to lend a hand on this one, since it's such a valuable feature to me.

Next time I guess ;0

@airportyh
Copy link

BrowserStack now offers its own tunneling from the command line http://www.browserstack.com/local-testing and you can use it through @dbrans's browserstack-cli.

@dignifiedquire
Copy link
Member

@airportyh Thanks for the info. Will take it into account as soon as I get to finishing this.

@dignifiedquire
Copy link
Member

I will wait with this until the browsers are extracted into their own modules. See #158.

@geddski
Copy link

geddski commented Mar 17, 2013

This still on the radar? Would be so nice for CI servers.

@dignifiedquire
Copy link
Member

@GEDDesign Yes it is. I want to merge #317 first so this is easier to configure for the user. But as soon as that is done I'll finish this.

@vojtajina
Copy link
Contributor

Sorry, #317 is blocked on me. I'm still thinking what is the best way of
extending the config syntax. I'll get to it, promise.

On Sun, Mar 17, 2013 at 2:07 AM, Friedel Ziegelmayer <
notifications@github.com> wrote:

@GEDDesign https://github.com/geddesign Yes it is. I want to merge #317https://github.com/testacular/testacular/issues/317first so this is easier to configure for the user. But as soon as that is
done I'll finish this.


Reply to this email directly or view it on GitHubhttps://github.com/testacular/testacular/issues/96#issuecomment-15019568
.

@dhbaird
Copy link

dhbaird commented May 6, 2013

Is that new pull request in #317 going to help with this?

@vojtajina
Copy link
Contributor

@dhbaird yep

Guys, check out #533 - and I'm gonna merge it in.

@L42y
Copy link

L42y commented May 11, 2013

Awesome! browserstack support is coming.

@vojtajina
Copy link
Contributor

There seems to be already launcher for browserstack, check out https://github.com/toolkitchen/karma-browserstack-launcher

Also, if anybody interested in improving this launcher, check out https://github.com/karma-runner/karma-sauce-launcher

So I'm closing this...

@patkujawa-wf
Copy link

https://github.com/karma-runner/karma-browserstack-launcher seems to be the continuation of this thread

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants