Skip to content

Instantly share code, notes, and snippets.

@potench
Last active December 14, 2015 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save potench/5104526 to your computer and use it in GitHub Desktop.
Save potench/5104526 to your computer and use it in GitHub Desktop.
rosy-bower pull-request

Package Manage Rosy with Bower

Requirements

  • npm install bower -g

Quick Start : Example Project

For our test case, you can download and install the Rosy example project.

  • mkdir example && cd example
  • bower install git@github.com:rosy-components/example.git
  • mv components/example/html/index.html index.html // move a couple example html files
  • mv components/example/html/about.html about.html
  • http-server
  • Point brower to http://localhost:8080

How to run OxBlood tests

Lets demo the Oxblood test-suite on rosy.

  • Install OxBlood depencencies
  • brew install phantomjs // more info on Oxblood
  • npm install http-server -g
  • Install OxBlood tests locally into your code-base
  • cd example/components/rosy OR cd example/components/[some-rosy-component]
  • npm install // installs the OxBlood test-suite into the library you're testing
  • npm test // runs tests in node PhantomJS browser.
  • OR http-server and go to localhost:8080/node_modules/rosy-oxblood/runner.html // run tests in your browser

Details

  • If all you want is Rosy, just do bower install git@github.com:ff0000/rosy.git#1.0.0-bower.
  • List of rosy-components available at the rosy-components group.
  • Hopefully, this makes using and contributing rosy-components easier. You can store tests and examples in your component repo.
  • Customizing and running OxBlood tests is easier.

Roadmap

  • Once accepted, we'll register Rosy with Bower so you can just bower install rosy
  • Working on an OxBlood readme to help setup and run custom OxBlood tests on your projects and libs.
  • Travis and Bunyip tests aren't working with the new package organization - will work on correcting this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment