TAP output for Petitest.
Add this line to your application"s Gemfile:
gem "petitest-tap"And then execute:
bundleOr install it yourself as:
gem install petitest-tap- Require
petitest/tap - Change
Petitest.configuration.subscribers - Run tests
require "petitest/tap"
Petitest.configuration.subscribers = [Petitest::Tap::Subscriber.new]See https://testanything.org/ for more details about the TAP specifications.
TAP version 13
1..2
ok 1 - TapTest#test_a
ok 2 - TapTest#test_b
Demo with https://github.com/calvinmetcalf/tap-nyan:
