Day 17 in the #vDM30in30 Header image taken from https://www.relishapp.com/rspec/rspec-core/docs/example-groups/shared-examples One of the areas where it’s easy to have WET (We Enjoy Typing) code that you want to DRY (Don’t Repeat Yourself) up, is tests. When writing tests for similar areas of code, it’s easy to end up copy and pasting. You have to pieces of functionality that need to be tested in the same way, so why not copy and paste the testing code?

Peter Souter

Just some guy y’know?

Technical Account Manager

London, UK