View
Posted over 3 years ago by Andreas Robecke. solnic.eu

Yesterday I stumbled across a talk in which the guy mentioned module sub-classing. I was curious what you can...

Posted over 6 years ago by Henning Koch. angular-tips.com

Angular comes with different types of services. Each one with its own use cases. All of these services are singletons...

Posted over 3 years ago by Emanuel De.

...for(:get, 'http://example.com/foo') puts response_body_for(:get, 'http://example.com/foo') end # cucumber only VCR.cucumber_tags do |t| t.tag '@vcr', use_scenario_name: true, allow_playback_repeats: true...

...the same request! Further reading If this doesn't help, you might find these topics useful: Matchers VCR has different matchers (:method (default enabled), :uri (default enabled), :body, :headers, :host...

Posted over 3 years ago by Arne Hartherz.

Similar to our snippet that runs all Cucumber features matching a given string, the following will run all modified or...

Posted over 3 years ago by Dominik Schöler. github.com

Improve geordi cucumber: Only attempt @solo run when the specified files contain the @solo tag, skip @solo run if any...

Posted over 3 years ago by Daniel Straßner.

Capistrano is by default configured to exclude the gems of the groups development and test when deploying to the stages...

Posted over 3 years ago by Dominik Schöler.

Isolate scopes offer three kinds of variable binding. One of them is &, allowing to bind a property of the isolate...

Posted over 3 years ago by Thomas Eisenbarth.

Processes in Linux might be put into Swap ("virtual memory") occasionally. Even parts of a single process might be removed...

Posted over 3 years ago by Arne Hartherz.

The following will search for all .feature files containing a search term and run them using geordi. find features/ -name...

Posted almost 4 years ago by Dominik Schöler.

At least Selenium cannot find disabled fields. Unless you find them explicitly: find_field 'This is disabled', disabled: true

Posted almost 4 years ago by Dominik Schöler.

Spreewald gives you the within meta step that will constrain page inspection to a given scope. Unfortunately, this does not...

Posted over 7 years ago by Arne Hartherz.

Capybara uses www.example.com as the default hostname when making requests. If your application does something specific on certain hostnames and...

Posted almost 4 years ago by Dominik Schöler. developer.mozilla.org

When building a form with a file select field, you may want to offer your users a live preview before...

Posted almost 4 years ago by Dominik Schöler.

Cucumber's docstrings let you add long strings to a step like this: # foo.feature Given this text: """ First line

Posted over 9 years ago by Henning Koch.

Spreewald has steps that let you test that e-mails have been sent, using arbitrary conditions in any combination.

Posted about 4 years ago by Martin Straub.

Don't write resources :people, :concerns => :trashable Write resources :people do concerns :trashable end Why Writing a controller...

Posted about 4 years ago by Henning Koch.

Let's say you want to find the element with the text hello in the following DOM tree: hello

Posted about 4 years ago by Dominik Schöler.

Geordi is now (partially) tested with Cucumber. Yay! geordi cucumber supports a new @solo tag. Scenarios tagged with @solo...

This website uses cookies to improve usability and analyze traffic.
Accept or learn more