Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileMutations ¶
FileMutations stores all mutants of the same file against the string of the full file path.
type Mutation ¶
type Mutation struct {
Detected bool `xml:"detected,attr"`
Status mutations.Status `xml:"status,attr"`
NumTestsRun int `xml:"numberOfTestsRun,attr"`
SourceFile string `xml:"sourceFile"`
MutatedClass string `xml:"mutatedClass"`
MutatedMethod string `xml:"mutatedMethod"`
MethodDescription string `xml:"methodDescription"`
LineNumber int `xml:"lineNumber"`
Mutator string `xml:"mutator"`
KillingTest string `xml:"killingTest"`
Description string `xml:"description"`
MutationIndex int // NOTE: used to determine which mutants to decompile. Not present in XML.
}
Mutation is a struct that can accept the pitest xml output.
func (*Mutation) MutantExportDir ¶
func (*Mutation) MutatedClassPath ¶
func (*Mutation) SourceClassPath ¶
func (*Mutation) SourceCodePath ¶
type Pitest ¶
type Pitest struct {
// contains filtered or unexported fields
}
Pitest is the Framework object for the pitest library.
func (*Pitest) LoadResults ¶
func (*Pitest) SetDecompiler ¶
func (p *Pitest) SetDecompiler()
func (*Pitest) TransformResults ¶
type YamlConfig ¶
type YamlConfig struct {
XmlPath string `yaml:"xml-path"`
SrcCodePath string `yaml:"src-code-path"`
SrcClassPath string `yaml:"src-class-path"`
MutClassPath string `yaml:"mut-class-path"`
Decompiler string `yaml:"decompiler"`
}
YamlConfig represents Pitest's yml config data.
type YamlWrapper ¶
type YamlWrapper struct {
Cfg *YamlConfig `yaml:"pitest"`
}
YamlWrapper used to load the pitest configuration from the .marv.yml file.
func (*YamlWrapper) Init ¶
func (y *YamlWrapper) Init() interface{}
Click to show internal directories.
Click to hide internal directories.