Giter Club home page Giter Club logo

aviatorsbot-e2e-testing's Introduction

End to End Testing for AviatorsBot

This is a test suite of automated end to end tests for AviatorsBot.

Concept

The tests connect to the production instances of the Telegram servers and send the bots commands to the Bot configured in config/config.py.

Tests must be processed sequentially, for each sent command the test waits for the response until the configured timeout is reached. In that case the test fails.

Usage / SetUp

The setup of the test suite requires a production system Telegram account!

  1. Obtain an API ID and API Hash on my.telegram.org
  2. Set the environment variables TELEGRAM_API_ID and TELEGRAM_API_HASH
  3. Run the test suite locally to login and generate the session which is stored in secrets/telegram.session
  4. Deploy to Kubernetes or another platform for running the tests using the environment variables defined above and the session

aviatorsbot-e2e-testing's People

Contributors

fvalka avatar

Watchers

 avatar  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.