Every language has its niche

nifty@lemmy.world to Programmer Humor@programming.dev – 893 points –
157

You are viewing a single comment

Python is the language of choice for most test automation

Depends entirely what tests you're automating. Java codebase? Probably Java tests too. Anything web? Tests will be JS too, etc.

Web testing is also done in python. Selenium has support in all major Python test frameworks. I've done SE-only tests in Robot, hybrid SE/Python using BDD with Behave, etc.

Unless I'm testing a language-specific API, I'm probably going to use Python...

I'm guessing that's because you're a python developer though. If you're a frontend developer who knows JS then why wouldn't you use that for your tests? (Apart from the fact that JS is horrible, but you've already accepted that suffering by becoming a web dev)

I'm a test automation developer, I'm not necessarily bound by the platform that the application is written in unless I'm writing white-box tests.