20 April 2014

The Ruby Reflector

Topic

Test

  Source Favicon
By Marcelo Park of Plataformatec Blog 26 days ago.
Email

4) Test your questions

once you have finished writing your questions, ask them to yourself, to your colleagues or friends. Take notes about the type of answers you're getting.

remember, your job during the interview is to look for EVIDENCES, so if the answers you are getting are not providing you any evidences, then you need to refactor your questions.

Part Three - the interview

All right, you are about to finally meet with the candidate face to face. And if you're using Skype

blog.plataformatec.com.br Read
  Source Favicon
By Lucas Welch of Chef Blog 2 months ago.
Email

…dinner, drinks, or just in the hallway. A special highlight was when Adam Jacob gave a Test Driven Development "training" in the Chef Community Room. The crowd loved it.

Following CfgMgmt Camp Nathen Harvey headed to London for # learnchef training and the Infracoders London Meetup, where he presented "TDD with Chef". Between the beers and wide-ranging conversation, the meetup was a splendid cap to some seriously productive training …

opscode.com Read
  Source Favicon
By Michael Ducy of Chef Blog 3 months ago.
Email

…to help alleviate this problem. Wrapping things like Source Control Management, and Test Driven Development around your automation allows you to 1) have tested infrastructure code, 2) audit what is changing in your environment , 3) have an audit trail of who changed things, and 4) know exactly when it changed. Compare that to legacy change control processes if you will.

If you want to be successful with any large scale organizational change, you need to assume that everything you are currently …

opscode.com Read
  Source Favicon
By Mike Gunderloy of A Fresh Cup 3 months ago.
Email

Support for Test Driven Devops - Using custom RSpec matchers to make sure you don't break configurations.

List of Languages that Compile to JS - There are too many of them.

Never Write a Web Scraper Again - A visual approach to scraping.

afreshcup.com Read
  Source Favicon
Email

We use RSpec over Test::Unit because the syntax encourages human readable tests. While you could spend days arguing over what testing framework to use, and they all have their merits, the most important thing is that you are testing.

Feature specs

Feature specs, a kind of acceptance test, are high-level tests that walk through your entire application ensuring that each of the components work together. They're written from the perspective of a user clicking around the application and …

robots.thoughtbot.com Read
  Source Favicon
On ZURB 5 months ago.
Email

4. Test, Test and Test Some More

Testing is crucial ''as we showed in our little parable. We use Litmus to test all our emails before they go out. But you can't just rely on a service. You have to pick up a device. Around the office each of us has an iPhone and iPad at our desk. We have several Windows and Android devices lying around. While relying solely on an email testing service is easy, it's amazing how much just looking at an email on a device can …

zurb.com Read
  Source Favicon
Email

The System Under Test helps us focus on what we're really testing, what Depended-On Components (DOC) interact with it, and how to replace a Depended-On Component with a Test Double (such as a stub, spy, or fake).

However, it can be tempting to also stub parts of the System Under Test. This should be avoided.

Why not stub the System Under Test?

The goal of the guideline " Don't Stub the System Under Test" is to help us use tests as a …

robots.thoughtbot.com Read
  Source Favicon
On ZURB 5 months ago.
Email

1. Test, Test, Test ... and Test Again

We learned a rough lesson just days after releasing Ink. We sent out this month's Notable newsletter. Looked great on desktop email clients, but not so hot in mobile, especially iOS. And we rightly got called out on it. Check out how it looked on iPhones:

What happened? We tested using Litmus and all looked good. But we could've saved ourselves a bit of a headache if we just looked at an iPhone and not relied solely …

zurb.com Read
  Source Favicon
Email
  Source Favicon
Email

…to catch the users attention.

- Ensure it serves a purpose.

- Ideal placement of your code (on a motorway billboard is not very useful).

- Size for readability (typically 1inch or more).

- Tell the user what they stand to gain.

- Test it!

Note that some customisations such as embedded logo's may look cool but won't necessarily read as easily so it is always a good idea to test your QR code before the final release.

blog.dynamic50.com Read