marionettejs / backbone.marionette

The Backbone Framework
https://marionettejs.com
Other
7.07k stars 1.26k forks source link

Marionette integration tests #940

Closed samccone closed 10 years ago

samccone commented 10 years ago

Would be stellar if we had a few mini apps within the test suite that would fire up selenium via https://saucelabs.com/opensauce to test that things are working end to end.

As an added benifit we can also do cross browser testing. https://saucelabs.com/docs/onboarding

ping me for the login info if you want to take a stab!

cobbweb commented 10 years ago

:thumbsup: This might be handy. http://docs.travis-ci.com/user/gui-and-headless-browsers/

I haven't tried it but maybe Karma could be a better option than Selenium.

lukaszfiszer commented 10 years ago

I've tried karma with Travis CI and you can run your tests only in Firefox and phantom. I'd say karma is more suitable for cross-browser unit-tests and selenium is better in integration tests.

@samccone i'd be happy to take a stab on it. what kind of app would you like to test? My idea would be to reuse the marionette example from TodoMVC.

samccone commented 10 years ago

@lukaszfiszer yes please! todomvc style sounds perfect.

lukaszfiszer commented 10 years ago

great. could you sent me the login info for saucelabs at lukasz dot fiszer at gmail dot com?

jasonLaster commented 10 years ago

@samccone - does this need to be tied to v2.0? It's a priority, but not sure if it needs to be part of the milestone.

samccone commented 10 years ago

I am going to do it :dancer:

jamiebuilds commented 10 years ago

Might also want to try out nightwatch, it's easily the best selenium web driver for javascript. We use it on my company's apps.

ahumphreys87 commented 10 years ago

:+1: for nightwatch

samccone commented 10 years ago

I am going to blow your guys minds with https://github.com/mojotech/dill.js

ahumphreys87 commented 10 years ago

I can't help but be a little excited about this

On Thursday, 1 May 2014, Sam Saccone notifications@github.com wrote:

I am going to blow your guys minds with https://github.com/mojotech/dill.js

— Reply to this email directly or view it on GitHubhttps://github.com/marionettejs/backbone.marionette/issues/940#issuecomment-41935650 .

jasonLaster commented 10 years ago

ping @samccone how is this?

samccone commented 10 years ago

ah yes :+1:

samccone commented 10 years ago

duplicate of https://github.com/marionettejs/backbone.marionette/issues/1474