Git Product home page Git Product logo

wstest's Introduction

wstest

The Faye WebSocket stack consists of these modules:

These are all tested using Autobahn, an exhaustive black-box test suite for WebSocket servers and clients.

This repo contains everything we use to run the test suite for all the combinations of languages, versions and app servers we support. It is very much in a "works on my machines" state, and assumes you have nvm and chruby installed in the canonical locations, and that you have all the required Node and Ruby versions installed.

To get set up:

git clone git://github.com/faye/wstest.git
cd wstest
pipenv install

To update all the WebSocket modules from source and set up their dependencies:

./scripts/update-code

To run the server tests, first start up the test servers:

./scripts/node-servers
./scripts/ruby-servers

Then, in a pipenv shell, run the wstest client:

pipenv shell
wstest -m fuzzingclient

Once the tests are complete, shut down all the test servers:

killall node ruby java

To run the client tests, start the wstest server in a pipenv shell:

pipenv shell
wstest -m fuzzingserver

Then, run the test clients:

./scripts/clients

wstest's People

Contributors

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