Skip to content

Berkmann18/cli-e2e

Repository files navigation

cli-e2e

NPM

Node.js CI Responsible Disclosure Policy SR Commitizen friendly BCH compliance codecov Known Vulnerabilities

Install

npm i -D cli-e2e

Example

const cliPath = path.join(__dirname, 'cli.js');
const cliProcess = cmd.create(cliPath, '.');

test('should return "Hello"', async () => {
  const response = await cliProcess.execute(['Hello']);
  expect(response).toEqual('Hello');
});

For more documentation, please check ./doc/index.html.

Contributing

Please consult CONTRIBUTING for guidelines on contributing to this project.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Maximilian Berkmann

💻 🚇 📖 🚧 🤔

Andrés Zorro

🤔 💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Special thanks to @zorrodg for making the original JS code

About

CLI Integration testing helper

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published