Choosing a Test Automation Language
I took some of the most popular programming languages and wrote test automation frameworks for them.
#1 JavaScript cucumber-javascript?
#3 Python cucumber-python
#5 Java cucumber-java
#7 TypeScript cucumber-typescript
#8 C# cucumber-csharp?
The frameworks all employ the same technologies and concepts. A developer of one should be able to switch to another.
领英推荐
Technologies
Concepts
Thoughts
If you only need mobile (Appium) and/or web (Selenium) then TypeScript is probably the way to go. WebdriverIO has a lot of handy features and shortcuts like setting up the WebDriver for you and `$` instead of `driver.findElements()` for a more jQuery-like syntax. There is also an AltUnity plugin in development by Jonathan Lipps.
For AltUnity, Java and Python are close but the Java API is a bit clunky. I have reached out to the developers on their Discord about it. Also, my code uses Appium to install and start the app (which would otherwise be scripted) and the way I got it working for C# is not great. If you know of a better way, send a DM or a PR!