Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nickserv/procrastinate

Quickly create pending specs for your favorite test frameworks.
https://github.com/nickserv/procrastinate

Last synced: 23 days ago
JSON representation

Quickly create pending specs for your favorite test frameworks.

Awesome Lists containing this project

README

        

# Procrastinate
[![NPM Version](http://img.shields.io/npm/v/procrastinate.svg?style=flat)](https://www.npmjs.org/package/procrastinate)
[![Build Status](https://travis-ci.org/nickmccurdy/procrastinate.svg?branch=master)](https://travis-ci.org/nickmccurdy/procrastinate)
[![Code Climate](https://codeclimate.com/github/nickmccurdy/procrastinate/badges/gpa.svg)](https://codeclimate.com/github/nickmccurdy/procrastinate)
[![js-semistandard-style](https://img.shields.io/badge/code%20style-semistandard-brightgreen.svg?style=flat)](https://github.com/Flet/semistandard)

Quickly create pending specs for your favorite test frameworks.

## Example

### Input
70 characters of the Procrastinate DSL
```
Array
#indexOf()
should return -1 when the value is not present
```

### Usage
```sh
npx procrastinate jest < test.js
```
`jest` can be replaced with any [supported formatter](#supported-formatters)

### Output
144 characters of pending Jest specs
```javascript
describe('Array', () => {
describe('#indexOf()', () => {
test.todo('should return -1 when the value is not present');
});
});
```

## Supported formatters
- [`jest`](https://jestjs.io/)
- [`mocha`](https://mochajs.org/)
- [`rspec`](https://rspec.info/)