npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

rally-test-case-export

v1.2.3

Published

Generate a test case stubs from a rally test case

Readme

Rally Test Case Export

This project allows to export a Rally Test Case to a stub method you can use to start implementing it in your platform of choice.

Currently it only supports Protractor so if you want support to your flavour of choice please add an issue along with your vision for the layout of the exported stub.

Installation

Just install it globally with npm:

npm install -g rally-test-case-export

Usage

First you have to create an account.conf.js file with your account details. Just check the directory where npm installed rally-test-case-export (/usr/local/lib/node_modules/rally-test-case-export/, probably) go to the conf dir, copy account.conf.reference.js and set up your rally account.

You just have to run rally-tc-export <testcaseid> [console|clipboard]

Please note that the test case id is actually not the formatted id (ex: TC34553) but the id you can see on the link (ex: https://rallyurl/#/12334566/detail/testcase/5433334) At the moment you can chose if you want the output to be sent to the console or copied to the clipboard.

Template

You are able to define your own template. The template file is in the same directory as your account conf file and it's called output.mustache. We're using Hogan.js, a templating engine that uses the Mustache as the template language. You have access to the following variables in your template:

- id
- priority
- name
- objective
- pre_condition
- post_condition
- validation_input
- validation_expected_result
- steps
    - step_index
    - input
    - expected_result

If you need any other property from rally please add an issue or do a pull request

Changelog

v1.2.3

  • Fixed issue with some rally fields not being properly rendered

v1.2.2

  • Add "Objective" parameter and improve text legibility
  • Improve text legibility of some parameters. Convert HTML to plain-text using "html-to-text" dependency

v1.1.2

  • Fixing loading template file (Issue #4)

v1.1.0

Features

  • You now have the capability of defining your own template (Issue #1)

v1.0.4

Bug Fixes

  • Issue #2: Escape single quotes from values
  • Issue #3: Fixed command line error message
  • Fixed typo in README file

v1.0.3

Features

  • Allows you to export rally test cases in a protractor/jasmine format either to the clipboard or to the console