These are chat archives for mojotech/pioneer

10th
Sep 2014
Joshua Roesslein
@joshthecoder
Sep 10 2014 03:17 UTC
Great work on Pioneer. It's been a joy using it so far. :smile:
Sam Saccone
@samccone
Sep 10 2014 03:23 UTC
:smile:
@joshthecoder glad you are enjoying
PLZ give me any feedback when you have it
still very “flexible”
Joshua Roesslein
@joshthecoder
Sep 10 2014 03:25 UTC
Sure and happy to contribute to the project where I can.
Sam Saccone
@samccone
Sep 10 2014 03:25 UTC
awesome, pain points / problems / ideas are all welcome :)
that is the best way for growth heh
@joshthecoder what kind of stack are you on?
Joshua Roesslein
@joshthecoder
Sep 10 2014 03:26 UTC
Our web apps are a mix of React and Backbone at the moment
Looking to use Pioneer for adding some more integrations tests
Sam Saccone
@samccone
Sep 10 2014 03:29 UTC
cool!
well here are a bunch of tests… https://github.com/mojotech/pioneer-todo-mvc if you wanted to look at something
Joshua Roesslein
@joshthecoder
Sep 10 2014 03:33 UTC
I'll keep that handy. The docs have been helpful and also been reading Pioneer's source when I get stuck.
Sam Saccone
@samccone
Sep 10 2014 03:34 UTC
yeah I have tried to keep it all pretty literate and keeping the docs upto date
there are a few things that i still want to clean up..
but pretty ok with it overall :)
Joshua Roesslein
@joshthecoder
Sep 10 2014 03:39 UTC
Is there any issues with using Pioneer with a hosted Selenium? Ex: Sauce Labs
Sam Saccone
@samccone
Sep 10 2014 03:39 UTC
there is not, however it works like a charm with travis.ci
so i figured it would work just fine with sauce / whatever
but if you hit issues, open an issue
and I can dig in
Joshua Roesslein
@joshthecoder
Sep 10 2014 03:42 UTC
Yeah figured I just need to setup the driver to connect with the remote host
Taylor Gautier
@tsgautier
Sep 10 2014 07:50 UTC
just saw this posted on Reddit - tried it out and I am suitably impressed
I've been leading a team that's been using Cucumber + Capybara for ~2 years however 90% of the stack is coffeescript (back-end is node.js + coffee front-end is angular + coffee)
This approach is far closer to what the developers are used to - and I really like the Widget idea out of the box, which native Cucumber/Ruby + Capybara doesn't address in any way (exercise for the reader). Unfortunately, this lack of componentization meant we didn't really focus on re-usability at the code level, only the step level, and that caused a lot of problems. Giving people the Widget library right off the bat so code, not steps, are the unit of re-usability is absolutely key. Big Kudos!!
Taylor Gautier
@tsgautier
Sep 10 2014 07:55 UTC
I sure wish Pioneer had been around back then for us to use. I hope to use it soon - it looks really really good - first impression of getting it to work out of the box was extremely positive.
Only one question - what is the fixtures directory for in the scaffold'ed project?
Allan MacGregor
@amacgregor
Sep 10 2014 12:44 UTC
Very cool project
is there way to mark a step as pending? the documentation does something like callback.pending(); but that doesn't seem to work anymore
Sam Saccone
@samccone
Sep 10 2014 13:07 UTC
hi @tsgautier that is just a helper folder if you need it… I should really remove it for now
mojotech/pioneer#239
@amacgregor ack not atm… let me file that
Allan MacGregor
@amacgregor
Sep 10 2014 13:09 UTC
@samccone cool, thank you. Right now is kind of annoying that empty test actually PASS
Sam Saccone
@samccone
Sep 10 2014 13:12 UTC
well for now @amacgregor
if you do something like...
/sss/, (cb) -> cb.pending()
it should work..
Allan MacGregor
@amacgregor
Sep 10 2014 13:27 UTC
is that coffee script ?
Sam Saccone
@samccone
Sep 10 2014 13:27 UTC
oh yes
but for js
/dddd/, function(cb){cb.pending()}
Allan MacGregor
@amacgregor
Sep 10 2014 13:28 UTC
  TypeError: Cannot call method 'pending' of undefined
Sam Saccone
@samccone
Sep 10 2014 13:28 UTC
welp ok then it totally does not work :(
i will figure something out
Allan MacGregor
@amacgregor
Sep 10 2014 13:28 UTC
:(
thank you :)
Taylor Gautier
@tsgautier
Sep 10 2014 15:44 UTC
providing a callback in the method seems to conflict with the arguments from the regex
perhaps you could put a Pending method on the this object
so it would just be @Pending()
Sam Saccone
@samccone
Sep 10 2014 15:44 UTC
that is a great call @tsgautier would you like to open an issue?
Taylor Gautier
@tsgautier
Sep 10 2014 15:45 UTC
sure - and btw the docs are inaccurate - they describe the cb method
as well I think the stub step that is printed in the case of undefined step
Sam Saccone
@samccone
Sep 10 2014 15:45 UTC
ah can you file that an issue also, so i do not forget
yep yep, file away plz
Taylor Gautier
@tsgautier
Sep 10 2014 15:46 UTC
perhaps we can just file into one ticket
Sam Saccone
@samccone
Sep 10 2014 15:46 UTC
the @callback should be an isolated issue
but the doc cleanup can be one
:)
just to keep them limited in scope
Allan MacGregor
@amacgregor
Sep 10 2014 16:07 UTC
@samccone @tsgautier nice
Sam Saccone
@samccone
Sep 10 2014 16:07 UTC
ah i understandyou comments now.. i thought you were talking abou something else when you ere talking about docs
yes this can all be one :P
I will condense them