Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/nickserv/procrastinate
- Owner: nickserv
- License: mit
- Created: 2015-04-15T00:13:51.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2023-01-11T20:20:26.000Z (almost 2 years ago)
- Last Synced: 2024-09-19T13:49:20.645Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 243 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/)