func (rr *TAPRenderer) Result(passes, fails int) {
	return
}
Result prints info about test results
package render
import (
	"fmt"
	"path/filepath"
	"strings"
	"github.com/essentialkaos/bibop/recipe"
)
type TAPRenderer struct {
	index int
}
func (rr *TAPRenderer) Start(r *recipe.Recipe) {
	fmt.Println("TAP version 13")
	fmt.Printf("1..%d\n", rr.getTestCount(r))
	recipeFile, _ := filepath.Abs(r.File)
	workingDir, _ := filepath.Abs(r.Dir)
	fmt.Println("#")
	fmt.Println("# RECIPE INFO")
	fmt.Printf("# Recipe file: %s\n", recipeFile)
	fmt.Printf("# Working dir: %s\n", workingDir)
	fmt.Printf("# Unsafe actions: %t\n", r.UnsafeActions)
	fmt.Printf("# Require root: %t\n", r.RequireRoot)
	fmt.Printf("# Fast finish: %t\n", r.FastFinish)
	fmt.Printf("# Lock workdir: %t\n", r.LockWorkdir)
	fmt.Printf("# Unbuffered IO: %t\n", r.Unbuffer)
	rr.index = 1
}
func (rr *TAPRenderer) CommandStarted(c *recipe.Command) {
	fmt.Println("#")
	switch {
	case c.Cmdline == "-" && c.Description == "":
		fmt.Println("# - Empty command -")
	case c.Cmdline == "-" && c.Description != "":
		fmt.Printf("# %s\n", c.Description)
	case c.Cmdline != "-" && c.Description == "":
		fmt.Printf("# %s\n", c.Cmdline)
	case c.Cmdline != "-" && c.Description == "" && c.User != "":
		fmt.Printf("# [%s] %s\n", c.User, c.Cmdline)
	case c.Cmdline != "-" && c.Description != "" && c.User != "":
		fmt.Printf("# %s -> [%s] %s\n", c.Description, c.User, c.GetCmdline())
	default:
		fmt.Printf("# %s -> %s\n", c.Description, c.GetCmdline())
	}
}
func (rr *TAPRenderer) CommandFailed(c *recipe.Command, err error) {
	fmt.Printf("Bail out! %v\n", err)
}
func (rr *TAPRenderer) CommandDone(c *recipe.Command, isLast bool) {
	return
}
func (rr *TAPRenderer) ActionStarted(a *recipe.Action) {
	return
}
func (rr *TAPRenderer) ActionFailed(a *recipe.Action, err error) {
	fmt.Printf(
		"not ok %d - %s %s\n",
		rr.index,
		rr.formatActionName(a),
		rr.formatActionArgs(a),
	)
	fmt.Printf("  %v\n", err)
	rr.index++
}
func (rr *TAPRenderer) ActionDone(a *recipe.Action, isLast bool) {
	fmt.Printf(
		"ok %d - %s %s\n",
		rr.index,
		rr.formatActionName(a),
		rr.formatActionArgs(a),
	)
	rr.index++
}