Mobile e2e tests using WebdriverIO and Appium

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Quick

    The Swift (and Objective-C) testing framework.

  • These tests are responsible for validating that a single unit is working properly. You can think of a unit as a class or function. These tests are written in an isolated fashion. I mean, if the rest of the system is full of bugs and nothing else work, if this unit work, the test will pass. They are also repeatable. They don't depend on anything else, really. Anytime you run the test, if the code hasn't changed, the test will report the same result. These tests are intimately related to the code quality of your project. If your code is clean, these tests should be relatively easy to write. When writing unit tests in iOS, you usually use XCTest or Quick

  • ToBeAutomated

    An example for an e2e automation article.

  • Well, enough theory for now. I've prepared a quick, small example so you can understand hands-on how all of this work. So, go and clone/download the code in this repo. This is the simplest app you could think of. It's a Counter app, that has a label in the center of the screen, a button to "add" and a button to "sub". As simple as that. A think that could draw your attention is this fragment:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • appium-desktop

    Discontinued Appium Server in Desktop GUIs for Mac, Windows, and Linux

  • Now, download Appium Desktop from this link.

  • nvm

    Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions

  • If you were able to follow up until now, well done! You've just run Appium for the first time, and inspected your app in the Appium Inspector. Now, stop the Appium Desktop server, and let's start with the actual tests. Before going on, you'll need to install nodejs, preferably by using nvm, although that's out of the scope for this tutorial. Once you've that installed, let's create a new folder and open the terminal inside it. We need to start a new Nodejs app, so I'll run npm init -y to accept the default arguments.

  • WebdriverIO

    Next-gen browser and mobile automation test framework for Node.js

  • So this is new for me. I normally write posts explaining things I've been doing in a daily basis for many years. However, I started working for a new client somethings like a month ago. I'll talk about the team organization at some point, in another post, because I really like how these guys work. However, this post is about end-to-end tests. In the team I'm now taking part of, everyone is responsible for writing e2e tests for iOS/Android/Web. I've never done that before, I have to confess. I've done Unit tests many many times, but I've never written so many integration tests. Appium, WebdriverIO and Jasmine are the tools this team has chosen to write these tests, and for good reasons. Let's first distinguish briefly among the different types of automated tests. Particularly between e2e and unit tests.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Write a schema only absolutely no code backend server with Node.js and Teo!

    3 projects | dev.to | 20 Feb 2024
  • How to quickly setup NodeJS with NVM

    1 project | dev.to | 17 Dec 2023
  • "npm can’t be eliminated from the equation when you’re dealing with JavaScript" - True or false?

    1 project | /r/Deno | 26 Nov 2023
  • Supercharge your Windows Development: The Ultimate Guide to WSL 🚀📟

    5 projects | dev.to | 21 Nov 2023
  • Two+ things I do every time I set up a new node project

    1 project | dev.to | 10 Aug 2023