New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

cortex-test

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cortex-test

run test for cortex projects

Source
npmnpm
Version
0.5.2
Version published
Maintainers
2
Created
Source

#CLI

###Usage: Usage: cortex test [options]

Options:
  -R, --reporter  test reporter                                     [default: "base"]
  -r, --root      static root, such as `http://i2.dpfile.com/mod`
  -V, --verbose   see verbose info
  -H, --help
  -m, --mode                                                        [default: "local"]
    

###Run in local mode

cortex test

your browser will open on http://127.0.0.1:1976/. you can check mocha tests on your own

###Multi browser test with browserman: npm install cortex-test-browserman-adapter -g cortex test -m browserman -r http://i2.static.dp/mod --browser "firefox,chrome,internet explorer@>8.0.0"

you will see:

  ----------------------------------------
    firefox 29.0.0 windows
  ----------------------------------------

  ✓ should return instance of Mbox
  ✓ should open and close properly
  ✓ should be able to open multi mboxes

    3 passing

  ----------------------------------------
    chrome 34.0.0 windows
  ----------------------------------------

  ✓ should return instance of Mbox
  ✓ should open and close properly
  ✓ should be able to open multi mboxes

    3 passing

  ----------------------------------------
    internet explorer 9.0.0 windows
  ----------------------------------------

  ✓ should return instance of Mbox
  ✓ should open and close properly
  ✓ should be able to open multi mboxes

    3 passing

###Learn more

Keywords

browser

FAQs

Package last updated on 04 Jul 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts