8000 GitHub - kakchan/sendo: Sendo is an open source Node.js ecommerce platform
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kakchan/sendo

Repository files navigation

Sendo Build Status

Sendo is an open source Node.js ecommerce platform. It is developed with MongoDB, Express and Angular.

##Requirements Sendo requires the following software to be installed:

  • Node (version 0.10 or later)
  • MongoDB (version 3.6.7 or later)

Setup Local Development Environment

Unit Tests & Integration Tests

Our unit tests covered both client and server sides. Also, there are integration tests to cover server side api (file extension .integration.spec.js)

  • Karma is used for the client side unit testing
  • Mocha is used for the server side unit testing

To run client side unit tests

	grunt test:client

Note: If you would like to use Webstorm with Karma Plugin, make sure set the environment variable NODE_ENV to test

To run server side unit tests and integration tests

	grunt test:server

Note: If you would like to use Webstorm with Mocha Plugin, make sure set the environment variable NODE_ENV to test

The following command is to run both client/server unit tests and integration tests

	grunt test

End-to-End Tests

To setup e2e testing, you will need to update your Chrome binary path of the protractor.conf.js

    ...
    "chromeOptions": {
      binary: "<your chrome binary path>",
      ...
    }

To run End-to-End Tests

	grunt test:e2e

Note: If you would like to use Webstorm for e2e test, please follow the following instructions:

  1. set "Javascript files" to node_modules/grunt-protractor-runner/node_modules/protractor/lib/cli.js and
  2. set "Application Parameters" to protractor.intellij.conf.js

About

Sendo is an open source Node.js ecommerce platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0