Why Ruby is the Best Scripting Language for End-to-End Test Automation?

Ruby is an excellent all-around scripting language that was used to pioneer web test automation and is a “most-in-demand” skill.

Zhimin Zhan
12 min readJul 22, 2023

--

Non-Medium members: you can view the abridged version on Vocal Media.

As a veteran software engineer and test automation engineer/SDET, I fully understand how sensitive it is when software engineers come to language debate. If you are an engineer fixated on a specific language, don’t read this.

The reason for this article: a frustrated Cypress tester (many pieces of evidence show Cypress.io is dying) questioned my advice of “Migrate Cypress Tests to Selenium”. He said he had tried Selenium + JS before. Not knowing this person’s background (i.e. his skills or understanding of test automation), I provided safe advice: “You should use raw Selenium WebDriver + RSpec, i.e., in Ruby language”.

Table of Contents:
· 1. My Objectiveness to Programming Languages
·
2. Selenium WebDriver includes the “unfamiliar” Ruby for a good reason
·
3. Ruby pioneered web test automation
·
4. Ruby is designed with features that are good for test automation
·
5. Ruby is “elegant, expressive, and tersely powerful” and “ideal”
·
6. A good Software Engineer should

--

--

Zhimin Zhan

Test automation & CT coach, author, speaker and award-winning software developer. Help teams succeed with Agile/DevOps by implementing real Continuous Testing.