Skip to content

Straightedge is(will be) a application that will generate code that can be run by mocha to perform end to end tests.

License

Notifications You must be signed in to change notification settings

Keith3895/straightedge

Repository files navigation

Straightedge

Straightedge is(will be) a application that will generate code that can be run by mocha to perform end to end tests.

Table of Contents

  1. Architecture
  2. Introduction
  3. Usage Guide
  4. RoadMap
  5. License

Architecture

architecture

the architecture of this application is segmented to two main blocks:

  1. the frontend(browser extension).
  2. the backend(code generator).

As per the architecture the browser extension listens to the events by hooking on to the DOM. As it collects the events' information they are stored onto a JSON object. This JSON object is sent to the backend of the application by using a HTTP request.

In the Backend the JSON of the event history is received and it is processed. Based on the event type and action the entries are classified into different code blocks. these code blocks are then used to generate the Scripts needed to process the test suite.

Introductions

From The Application architecture we can infer that the application is broken into two main parts.

  1. the event sniffer, straightedge-fe, is a chrome extension and sample working of the extension is shown below. You can read more about the code base for straightedge-fe.

video

To read about the detailed explanation on the working and approach to building the extension read the Wiki.

  1. the code generator straightedge.

Installation

Installation guide for:

Usage

Usage instructions of straightedge.

RoadMap

  • CI/CD build automation.
  • TDD-esque development.
  • switching to webpack.
  • CDN deployments.

License

GNU General Public License v3.0 or later

See COPYING file to see the full text.

About

Straightedge is(will be) a application that will generate code that can be run by mocha to perform end to end tests.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published