Welcome to this week's new issue of Test Automation Weekly. A lot happened this week, so here's your chance to get caught up. Read on for the week's most popular articles, news, tweets, and tools. Happy reading!
If you'd like to support Test Automation Weekly please share this issue with friends and colleagues. Don't forget to subscribe to our newsletter to stay up to date on all news.
📚 Articles, Tutorials, and Opinions
Serverless load testing at scale with Artillery — The following article describes how you can load test your serverless applications using Artillery and the Serverless Framework, with the supporting code repo being available here. There are examples of load, smoke, fuzz and functional tests, with generated reports.
Lee James Gilmore
Traits for testing in Kotlin — The traits pattern is popular in more dynamic languages, like Groovy. In Kotlin, I often see it used for testing, especially integration testing on backend applications. Marcin Moskała
Clean Code in Python — In this article, we'll talk about clean code - its benefits, different code standards and principles, and general guidelines on how to write clean code.
Rust BDD tests with Cucumber — In this article author will show the basics of how to use Cucumber (and its language, Gherkin) alongside Rust.
Roger Torres Paes
Top Free Automation Tools for Testing Desktop Applications — There are the top 15 free automation testing tools for desktop applications updated for 2021.
Scaling Tests with Docker — Study notes with examples and slides.
Rahul Parwal, Apoorva Ram and Himani Yadav
Testing like a hardware engineer — Hardware and software engineering are superficially very similar- architect a design, implement it in a coding language, write tests, run that through some tools to convert code to something useful, and ship.
Testing in production: using JSON Schema for 3rd party API response validation — Testing 3d party integrations is painful. Proper end-to-end testing is not feasible in a CI setup. It’s not only slow and relies on access to outside servers that could be down, it’s also next to impossible to set up useful fixtures. Kristian Dupont
A Comprehensive Guide On JUnit 5 Extensions — JUnit is one of the most popular unit testing frameworks in the Java ecosystem. The JUnit 5 version (also known as Jupiter) contains many exciting innovations, including support for new features in Java 8 and above. However, many developers still prefer to use the JUnit 4 framework since certain features like parallel execution with JUnit 5 are still in the experimental phase. Ghislain Kalonji Mukendi
How to use test.todo() in Jest — Someone tell me about "todo comment"? Why don't we use it. I would said it also hard to track because it's just convention and also todo comment will visualize depends on IDE/editor you use.
How To Use Annotations In Cucumber Framework — Cucumber is one of the most popular open-source BDD frameworks that facilitates Selenium test automation. It offers a set of tools that helps us to manage the various scenarios available in multiple feature files. We have already seen how to configure Cucumber and write a basic Cucumber test using a feature file in our earlier blog on automated testing with Selenium and Cucumber. However, it doesn’t suffice when you are working on complex projects involving multiple feature files.
Automating App Store Screenshots — You’re probably here because you might be shipping to the App Store soon or are coming close to App Store submission. Truly an exciting part of the app creation process! One very important part of the App Store submission process is taking screenshots of key features in your app. Screenshots help potential users visualize what functionality to expect when downloading your app for the first time. Taking screenshots can also be a very time consuming part of the process—luckily there is a nifty tool from Fastlane to help automate this process called snapshot. Daisy Ramos
Sr. Software Development Engineer In Test (New York)
As a Sr. Software Developer in TEST who specializes in Test Automation, your mission is to help set up and build automation for our Behavior Change app for iOS and Android.
Post your job with us.
🛠 Code, Tools and Resources
Mobile Security Framework (MobSF) — is an automated, all-in-one mobile application (Android/iOS/Windows) pen-testing, malware analysis and security assessment framework capable of performing static and dynamic analysis. MobSF support mobile app binaries (APK, XAPK, IPA & APPX) along with zipped source code and provides REST APIs for seamless integration with your CI/CD or DevSecOps pipeline.The Dynamic Analyzer helps you to perform runtime security assessment and interactive instrumented testing.
6 Command Line Tools — tools are powerful. A good tool makes work easier and faster, and a great tool unlocks new abilities: Previously impossible things become possible and sometimes easy.
Adam Gordon Bell
Psalm — a static analysis tool for finding errors in PHP applications.
ARIA DevTools — chrome extension, which can help you to see the website the way screen readers present it to the blind users. All page elements are presented according to their explicit or implied ARIA roles. This includes headings, images, tables and form items beyond others.
Locust — is an easy to use, scriptable and scalable performance testing tool. You define the behaviour of your users in regular Python code, instead of being constrained by a UI or domain specific language that only pretends to be real code. This makes Locust infinitely expandable and very developer friendly.
Useful ADB Commands For Android Testing — when testing Android applications, manually or automatically, there are several scenarios that need to be validated. Some scenarios may require a specific setup that takes a long time to be performed.
Allure Integration at Wrike — Sergey Potanin, QA Automation Team Lead at Wrike, shares Wrike's experience about their integration with Allure and it's benefits. YouTube
Fun With Fixtures — A friendly introduction to "fixtures" in Playwright Test. YouTube
Compose Testing — In this episode, Nick and Romain are joined by Filip Pavlis, Jelle Fresen & Jose Alcérreca to talk about Testing in Compose. They discuss how Compose’s testing APIs were developed hand-in-hand with the UI toolkit, making them more deterministic and opening up new possibilities like manipulating time. They go on to discuss the semantics tree, interop testing, screenshot testing and the possibilities for host-side testing. Nick, Romain, Filip Pavlis, Jelle Fresen & Jose Alcérreca