Selleo Logo
Toggle navigation
  • Services
    UX/UI Design ConsultingUX/UI Design ConsultingCustom Software Development CompanyCustom Software DevelopmentDevOps & Cloud ConsultingDevOps & Cloud ConsultingGraphQL APIs DevelopmentGraphQL APIs DevelopmentQuality AssuranceQuality Assurance
    Hire Ruby On Rails Development TeamRuby on Rails DevelopersHire Elixir Development TeamElixir DevelopersHire Node.js Development TeamNode.js DevelopersHire Ember.js Development TeamEmber.js DevelopersHire React Development TeamReact.js Developers
  • Portfolio
    75
  • Testimonials
  • About
  • Teams
  • Blog
  • Contact
  • All
  • UX Design
  • Software Development
  • Ruby on Rails
  • React
  • Ember
  • eCommerce
  • LMS
  • Healthcare
Opinionated Guide To Readable RSpecOpinionated Guide To Readable RSpec
Testing GraphQL Mutations In Ruby On Rails With RSpec

Testing GraphQL Mutations In Ruby On Rails With RSpec

In the last article we added a few GraphQL mutations to our test application. It is time to create automated tests for each of them. But first things first, we need to set up `RSpec` in order to write better specs.

Ireneusz Skrobiś
Ireneusz Skrobiś
Mar 21, 2019
ruby on rails
An Opinionated Guide To Readable RSpec (part 2 of 2)

An Opinionated Guide To Readable RSpec (part 2 of 2)

In the previous part of this article we focused on making specs we try to write as readable as possible. This however, comes at a cost of duplication and bloated individual tests. While this is a cost we intend to pay, there are ways to mitigate the impact of readability oriented specs on the overall size of our suite.

Błażej Kosmowski
Błażej Kosmowski
May 8, 2018
ruby on rails
An Opinionated Guide To Readable RSpec (part 1 of 2)

An Opinionated Guide To Readable RSpec (part 1 of 2)

It is hard to underestimate a value and importance of automated tests. Creating confidence about if the code works the right way and thus enabling safe refactoring is just one thing. Another one is that test suite can act as a way to document behavior and also, especially when approached the BDD way, can drive the code design and architecture.

Błażej Kosmowski
Błażej Kosmowski
Oct 5, 2017
ruby on rails