Skip to content

Development workflow

Cengiz Ulusoy edited this page Aug 11, 2013 · 3 revisions
  • Please start your webserver with;

      grunt server
    
  • Build a distribution package with;

      grunt build
    
  • To start webserver from distribuition folder, please use;

      grunt server:dist
    
  • To initialise unit tests please use;

      grunt karma:unit
    

    Default test runner for unit tests is PhantomJS. Please refer to section about PhantomJs for installation instructions below. Please change karma.conf.js file under the root directory. You can change browsers variable to use your preferable browser(s).

    Available browsers are;

    • Chrome
    • ChromeCanary
    • Firefox
    • PhantomJS (headless browser)
    • InternetExplorer

    For using internet explorer you will be needing to install ie launcher.

    Please use; npm install karma-ie-launcher and and add karma-ie-launcher in the plugins variable of the config file.

  • For initialising end-to-end tests please use;

      grunt karma:end
    
  • For automated releases please use;

      grunt prerelease | patch | minor | major
    

Clone this wiki locally