Hello, watir-rspec isn't needed per se, which means that you can use just watir itself. As stated in watir-rspec readme <https://github.com/watir/watir-rspec/blob/master/README.md>, it will make it slightly easier to manage browser opening/closing, adds few helpful matchers and creates nice html reports with links to files/screenshots created during tests. If you do not need any of these then watir-rspec is not needed.
However, if you're using Rails, then I suggest using watir-rails <https://github.com/watir/watir-rails> since it helps you to create running server etc. like you're probably used to with Capybara. Best Regards, Jarmo On Friday, October 7, 2016 at 10:34:13 PM UTC+3, [email protected] wrote: > > Thanks again to Justin for the massive help! > My stack is running and smoking' fast! > This next inquiry is for everyone else! <grin> :) > > I am seeking most up-to-date resources for using/programming with Watir. I > guess that any resource prior to some particular year (2011, 2013?) is out > of date and not usable? Such as this book: https://leanpub.com/watirbook > > Here is what I think may be up-to-date: > > http://www.rubydoc.info/gems/watir/frames > + http://www.rubydoc.info/gems/watir/Watir > + http://www.rubydoc.info/gems/watir/Watir/Browser > > > I am running Watir by invoking rspec within a Rails environment. Capybara > and RSpec are old comrades. > > Where is the most relevant documentation and best practices for using > Watir/Watir-RSpec to drive the user interface of Web site. > > Is the primary source for Watir documentation, here? > https://watir.com/documentation/ > > If so, then maybe there is a problem with the wiki. > All the links that point to the wiki load “stubs” as if the wiki was > re-initialized. > > > As this is my first experience with these tools, I am not sure if I > require the added abstraction of Watir-RSpec or not. > Is Watir-RSpec essential? Or is it primarily a wrapper for the browser > object to reduce the visual clutter of the Watir in an RSpec spec file? > > I imagine that some use cases (test cases) may use some of watir-rspec and > watir, both? Such as using and manipulating the browser object directly? > Any examples of those? > > In fact, I would very much appreciate any recommendations/links to any > relevant code examples. Even if they are old. > > Even if you know of a public gist (somewhere out there) with one single > test, that might be very helpful to someone just starting out, please > consider posting a link or sending it to me via e-mail. I would like to > read tests written by others — from the simple to the complex. > > Many thanks! > AZ > > -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
