5.3.3 • Published 10 months ago

power-doctest v5.3.3

Weekly downloads
4
License
MIT
Repository
github
Last release
10 months ago

power-doctest

A command line tool for power-doctest.

Install

Install with npm:

npm install power-doctest -g

Usage

CLI

Usage
  $ power-doctest /path/to/file.{js,md,adoc}

Options
  --packageDir  Current Working directory. Should put package.json in the directory.
  --disableRunning Disable running test case that has not state.

Examples
  $ power-doctest ./README.md
  $ power-doctest ./README.adoc
  $ power-doctest ./src/main.js

Node Modules

const { runPowerDoctest } = require("power-doctest");
runPowerDoctest({
    content: "1; // => 2",
    contentType: "javascript",
    filePath: "test.js",
    disableRunning: false
}).then(results => {
    console.log(results[0].status); // => "rejected"
});

Changelog

See Releases page.

Running tests

Install devDependencies and Run npm test:

npm test

Contributing

Pull requests and stars are always welcome.

For bugs and feature requests, please create an issue.

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

License

MIT © azu

5.3.3

10 months ago

6.0.0-beta.1

10 months ago

5.3.2

2 years ago

5.3.1

2 years ago

5.3.0

3 years ago

5.2.2

4 years ago

5.2.1

4 years ago

5.2.0

4 years ago

5.1.3

5 years ago

5.1.2

5 years ago

5.1.1

5 years ago

4.0.0

5 years ago

3.3.2

5 years ago

3.3.1

5 years ago

3.3.0

5 years ago

3.0.0

5 years ago

2.2.0

5 years ago

2.1.0

5 years ago

2.0.0

5 years ago

1.4.0

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.3.4

10 years ago

0.3.3

10 years ago

0.3.2

10 years ago

0.3.0

10 years ago

0.2.5

10 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago