Why Scripting Languages are Better for Writing Automated End-to-End Tests? Part 1

Test Scripts should be written in scripting languages.

Courtney Zhan

--

(Update: 2023–07–23) Part 2 .

For programmers, the language a project uses/should use is quite a hotly debated topic. In this article, I’ll share my opinions on the kind of languages (scripting languages) that I recommend using for automated end-to-end tests. This article will remain objective but to give some of my background first:

Please note, all discussion points are with automated end-to-end testing in mind.

1. No Compile Step ✅

You can write tests in traditional compiled languages like Java or C#. Before running these tests, you need to compile them first.

In scripting languages, such as Ruby or Python, this compile step is not necessary. Instead, the code is interpreted at runtime.

The meaning of scripting (in scripting languages or other contexts, such as movies) implies execute instructions step-by-step. For this reason, scripting languages typically don’t…

--

--