Skip to content

nickmccurdy/procrastinate

main
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Procrastinate

NPM Version Build Status Code Climate js-semistandard-style

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

npx procrastinate jest < test.js

jest can be replaced with any supported formatter

Output

144 characters of pending Jest specs

describe('Array', () => {
  describe('#indexOf()', () => {
    test.todo('should return -1 when the value is not present');
  });
});

Supported formatters