https://github.com/stratus3d/cttap
A TAP producer that integrates with existing Common Test suites via a Common Test hook
https://github.com/stratus3d/cttap
Last synced: about 1 year ago
JSON representation
A TAP producer that integrates with existing Common Test suites via a Common Test hook
- Host: GitHub
- URL: https://github.com/stratus3d/cttap
- Owner: Stratus3D
- License: mit
- Created: 2016-02-21T22:50:40.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-02-18T21:57:29.000Z (over 3 years ago)
- Last Synced: 2025-02-08T21:13:38.808Z (over 1 year ago)
- Language: Erlang
- Homepage:
- Size: 29.3 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CTTAP
*Common Test Test Anything Protocol*
A TAP producer that integrates with existing Common Test suites via a Common Test hook. CTTAP provides a simple way to generate TAP output without having to modify existing test code.
## Installation
Add CTTAP as a test dependency in your project:
erlang.mk:
TEST_DEPS = cttap
dep_cttap = git https://github.com/Stratus3D/cttap.git master
Rebar and Rebar3:
{deps, [app_name,
{rebar, ".*",
{git, "git://github.com/Stratus3D/cttap.git", {branch, "master"}}}
}
## Usage
Add cttap as a ct_hook:
erlang.mk:
CT_OPTS ='-ct_hooks cttap "[{filename, \"../test.tap\"}]"'
Rebar:
{ct_extra_params, "-ct_hooks cttap '[{filename, \"../test.tap\"}]'"}
Rebar3:
{ct_opts, [cttap]}
## Similar Projects
* An complete testing library with TAP output: [https://github.com/ngerakines/etap](https://github.com/ngerakines/etap)
* A TAP producer for Elixir's ExUnit: [https://github.com/Stratus3D/Spout](https://github.com/Stratus3D/Spout)
## Known Issues
No known issues.
## Contributing
Feel free to create an issue or pull request on GitHub ([https://github.com/Stratus3D/cttap/issues](https://github.com/Stratus3D/cttap/issues)) if you find a bug or see something that could be improved.