dextool.plugin.mutate.backend.test_mutant.common

Members

Aliases

CompileResult
alias CompileResult = SumType!(Mutation.Status, bool)
Undocumented in source.

Classes

AutoCleanup
class AutoCleanup

Paths stored will be removed automatically either when manually called or goes out of scope.

Functions

builtin
void builtin(DrainElement[] output, const(TestCaseAnalyzeBuiltin)[] tc_analyze_builtin, TestCaseReport app)

Analyze the output from the test suite with one of the builtin analyzers.

compile
CompileResult compile(ShellCommand cmd)
Undocumented in source. Be warned that the author may not have intended to support it.
createTmpDir
string createTmpDir()
externalProgram
bool externalProgram(ShellCommand cmd, DrainElement[] output, TestCaseReport report, AutoCleanup cleanup)

Run an external program that analyze the output from the test suite for test cases that failed.

runTester
auto runTester(TestRunner runner)

Run the test suite to verify a mutation.

Structs

LineRange
struct LineRange
Undocumented in source.
TestCaseAnalyzer
struct TestCaseAnalyzer

Analyze stdout/stderr output from a test suite for test cases that failed (killed) a mutant, which test cases that exists and if any of them are unstable.

Meta

License

MPL-2

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Common functionality used both by source and schemata testing of a mutant.