func (group *ExampleGroup) Ancestors() []*ExampleGroup {
	ancestors := []*ExampleGroup{}
	for parent := group.Parent; parent != nil; parent = parent.Parent {
		ancestors = append(ancestors, parent)
	}
	return ancestors
}
Returns its ancestor ExampleGroups in ascending order according to distance.
package gospel
import (
	"fmt"
	"testing"
)
type ExampleGroup struct {
	*testing.T
	Parent *ExampleGroup
	Description string
	Result string
	BeforeFilters []func()
	AfterFilters []func()
}
func (group *ExampleGroup) PrintResult() {
	fmt.Fprint(Output, group.Result)
}