gokmen / kd

a non-document focused UI Framework for web applications.

Home Page:http://kd.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KD

a non-document focused UI Framework for web applications.

Install gulp:

$ npm install gulp -g

Build steps:

$ npm i
$ gulp

Before building make sure you have these installed:

Test Runner

KD uses karma for automatically running tests. To launch karma, run

$ gulp karma

If you're editing test files, you'll also need to run the test watcher to automatically build the test files:

$ gulp watch-test

There is also an html based test runner, which can be useful for debugging tests. If you're running the playground server (started by running gulp) the tests are available by going to

http://localhost:8080/test/index.html

Alternately, you can view the tests directly in the browser:

$ open test/index.html

Running tests on Saucelabs

You can also run tests remotely on SauceLabs browsers.

First, expose your saucelabs username and access key as environment variables

$ export SAUCE_USERNAME=your-username SAUCE_ACCESS_KEY=your-access-key

Then fire up the SauceLabs test runner with

$ gulp sauce

The available browser definitions are configured in the customLaunchers key in karma.conf.js and then selected in the 'sauce' task in gulpfile.coffe.


Disclaimer

The framework is not well documented yet and the unit tests are in very early stage, any pull requests in this direction is highly appreciated.

About

a non-document focused UI Framework for web applications.

http://kd.io

License:MIT License


Languages

Language:CoffeeScript 51.8%Language:JavaScript 37.3%Language:CSS 10.8%Language:Shell 0.1%