Giter Site home page Giter Site logo

syn's Introduction

What It Is

Syn is a synthetic event library that pretty much handles typing, clicking, moving, and 
dragging exactly how a real user would perform those actions.

Relevant Links

1. http://jupiterjs.com/news/syn-a-standalone-synthetic-event-library
2. http://javascriptmvc.com/#&who=Syn
3. http://javascriptmvc.com/funcunit/syn/synthetic.html

Using Syn

You'd use syn to perform functional testing on a JavaScript application.  Check out the demo 
page (3rd link above) for some examples.  To add syn to your page, you have two options:

1. Add each script with script tags

There are 5 scripts to add to your page in the following order:

1. synthetic.js
2. mouse.js
3. browsers.js
4. key.js
5. drag/drag.js

2. Use steal

If you are using StealJS as your dependency loader, just steal.plugins('syn'), and the dependencies 
will be loaded for you.

Running Syn Tests

Load syn/qunit.html in any browser to run all the tests.  Load syn/drag/qunit.html to run the drag tests.

syn's People

Contributors

moschel avatar

Stargazers

 avatar

Watchers

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