Giter VIP home page Giter VIP logo

kinglouie's Introduction

Build Status codecov BCH compliance

Description

Your exploratory test monkey that becomes smarter over time.

King Louie:

Oh, oobee doo
I wanna be like you
I wanna walk like you
Talk like you, too
You'll see it's true
An ape like me
Can learn to be human too

Prerequisites

  • nodejs >= 8 (depending on async and using es6), with npm
  • Chrome

To run

clone this repo and

npm install
npm test
node samples/google/main.js

screenshot

Definitions

The Labelled Transition System

  • A Model (Labeled Transition System), consists of:
    • Labels
      • A label is either a stimulus (e.g. click), a response (e.g. an error), or quiesence (δ, absence of any output).
      • Can define parameters
    • States
      • Which have outgoing Transitions
        • Which have a from state, a label, and a to state.
        • May have a guard which specifies conditions on label parameters
      • One state is the initialState
  • An InstantiatedLabel is a label, but with actual data and meta data.
  • A Trace is a list of observed InstantiatedLabels.

The Adapter

You must implement an Adapter, which is an object that has async functions preamble, waitForOutput and determineState. See samples (samples/google/main.js). The adapter folder contains predefined methods to interact with a page.

KingLouie

Is using your Adapter and builds up an observation Model.

Known limitations

  • Kinglouie does not interact with iframes or new windows (popups).
  • Kinglouie does not handle modal dialogs (e.g. alert());

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.