23 May 2013

The Ruby Reflector

Topic

Guest

  Source Favicon
Email

…scenario view but also you can see what are the widgets responsible for or what is possible for the Guest user and what is possible for the logged-in User.

Interaction

I found it hard to implement interaction between users in a Cucumber style of testing. I mean things like this:

andrzej = TestUser("andrzej", "password") john = TestUser("john", "password") andrzej.logs_in andrzej.writes_a_review("Agricola", "content") andrzej.logs_out …

andrzejonsoftware.blogspot.com Read
  Source Favicon
By Gavin Morrice of RubyLearning Blog over 2 years ago.
Email
  Source Favicon
By Eric Anderson of RubyLearning Blog over 2 years ago.
Email
  Source Favicon
By Dr Nic of Dr Nic over 2 years ago.
Email

In this example, the Guest OS being downloaded and installed into VirtualBox (note: without any GUI) is Ubuntu Lucid , but you could use any VirtualBox packaged unix system.

For wonderful guided tour of Vagrant see the Getting Started video.

Vagrant - Getting Started from Mitchell Hashimoto on Vimeo .

Hudson CI + Vagrant = Perfect CI

Whether you choose to use VMs for a production-like development environment (a good idea for …

drnicwilliams.com Read
  Source Favicon
By Omar Mekky of RubyLearning Blog over 2 years ago.
Email
  Source Favicon
By Kevin Rutherford of RubyLearning Blog over 2 years ago.
Email
  Source Favicon
By Dave Hoover of RubyLearning Blog over 2 years ago.
Email
  Source Favicon
By Ed Howland of RubyLearning Blog over 2 years ago.
Email

…↩

I hope you found this article valuable. Feel free to ask questions and give feedback in the comments section of this post. Thanks!

Do also read these awesome Guest Posts:

How Does One Use Design Patterns In Ruby?

Do you know what's new in Ruby 1.9?

The value of a personal bug log

Do You Enjoy Your Code Quality?

rubylearning.com Read
  Source Favicon
By Fabio Akita of RubyLearning Blog over 2 years ago.
Email
  Source Favicon
By Paolo Perrotta of RubyLearning Blog over 2 years ago.
Email