https://github.com/nickserv/procrastinate
Quickly create pending specs for your favorite test frameworks.
https://github.com/nickserv/procrastinate
Last synced: 3 months 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 11 years ago)
- Default Branch: main
- Last Pushed: 2023-01-11T20:20:26.000Z (over 3 years ago)
- Last Synced: 2026-04-15T08:38:13.697Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 243 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Procrastinate
[](https://www.npmjs.org/package/procrastinate)
[](https://travis-ci.org/nickmccurdy/procrastinate)
[](https://codeclimate.com/github/nickmccurdy/procrastinate)
[](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/)