Git Product home page Git Product logo

starter-codeceptjs's Introduction

Twitch Discord

CodeceptJS 3 ‐ Supercharged End 2 End Testing

Boilerplate project created live on Twitch.tv/CharlyAutomatiza based on CodeceptJS

Overview

Esta documentación está disponible también en Castellano.

General requirements

Download and install

Requirements Mobile

Descargar e instalar

  • Java Development Kit (JDK)

    • Make sure you have the environment variable JAVA_HOME set to the path of the respective JDK.
  • Appium Desktop.

  • Android Studio and inside the app install.

    • SDK Platform: Android 10 or the required version.
    • SDK tools:
      • Android SDK Build Tools.
      • Andorid SDK Command Line Tools.
      • Android Emulator.
      • Android SDK Platform-tools.
      • Intel x86 Emulator accelerator.
    • Configure at least one emulator from Android Virtual Device Manager.
    • Make sure to add the following environment variables:
      • ANDROID_HOME: Add the directory where the Android SDK is located, for example: C:\Users\USERNAME\AppData\Local\Android\Sdk.
      • Then respecting the order add these environment variables:
        • %ANDROID_HOME%\emulator
        • %ANDROID_HOME%\platform-tools
        • %ANDROID_HOME%\tools
        • %ANDROID_HOME%\tools\bin
    • Starting the emulator from the command line:
      • List installed emulators:
        • emulator -list-avds
      • Iniciar el emulador:
        • emulator @emulator_name
      • As an alternative to any error it can be started with the following command: %ANDROID_HOME%\emulator\emulator.exe -avd <emulator_name>
  • Appium Doctor: To validate that we have everything necessary to carry out our mobile tests, we must install and execute.

    • npm install -g appium-doctor
      • This will install the utility that will allow us to validate that everything is correctly configured.
    • appium-doctor --android
      • If we have correctly carried out all the steps above with this command, a success message and some warnings will be displayed.
      • In case of a blocking error, it will be displayed on the screen, it must be corrected and re-executed until everything is ok.
  • APK to test.

Installation of the testing framework

Clone the repository:

git clone https://github.com/charlyautomatiza/starter-codeceptjs.git

Install dependencies.

npm install

To run the test go to the root of the project and run

npm run codeceptjs

To create and open Allure-Report with test results

npm run open-report

starter-codeceptjs's People

Contributors

charlyautomatiza avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.