Coder Social home page Coder Social logo

test-genisys-factory's Introduction

test-smart-spaces

Automated tests for Smartspaces

Process to create new inquisitor device for a room

  • Go to "things.octoblu.com" and select device to group together. At the moment, we need to add skype, light and room itself Click on "Group" on top left of the screen then give it a name. Naming convention is "Inquisitor-Test-room" then hit create.
  • After created the inquisitor device, go to app.octoblu.com to look for the device and get the uuid
  • Download meshblu-inquisitor project from github. Put meshblu.json credential from the user into the main directory of the project.
  • Run command line 'coffe command.coffee -u (uuid of the inqusitor device here)'
  • Go to interaction-monitor.octoblu.com/(uuid of the new inquisitor device here)/graph to check that the inquisitor created properly
  • We can also add or remove device from the inquisitor device group from "things.octoblu.com"
  • Always update device's subscription using meshblu-inquisitor everytime you add or remove a additional device

##To Run all the tests specified in folder on all the rooms using test-runner:

‹test-schedule-meeting› »»»» node mocha-ssfc.js                                                                                                      0|19:38:22

  Usage: mocha-ssfc [options]

  Options:

    -h, --help              output usage information
    -V, --version           output the version number
    -r, --rooms <roomsDir>  Directory containing room configuration files, escape with 'x'
    -t, --tests <testDir>   Directory containing mocha tests, escape with 'x'

To debug the test runner:

env DEBUG=test-runner node mocha-ssfc.js -r ../config/ -t ../test >results.html

##To Run an individual test on a room directly using mocha:

  • Make sure to have include meshblu.json of admin user inside room's config folder
  • run command from /test/ folder: -- For complete instant meeting: env ROOM=../config// mocha Test-Instant-Meeting.js -- For instant meeting without skype: env ROOM=../config// mocha Test-Instant-Meeting-without-skype.js

test-genisys-factory's People

Contributors

amirmocto avatar datamaximus avatar erikwilson avatar sqrtofsaturn avatar tinphan001 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

meshnu

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.