Muex. Mutator. Pipe
(Muex v0.8.1)
View Source
Elixir-specific mutator that drops a stage from a pipe chain.
x |> f()->x
Each |> node yields one mutation that replaces the whole pipe with its
left-hand side, dropping the right-hand stage. Because walk/3 visits every
node, a multi-stage chain (a |> f |> g) has each stage dropped in turn as
the traversal reaches each |> node.
A surviving mutant means a piped transformation has no test asserting on its effect.