Skip to content

Code mutator (simple values) needs options to disable trimming and value prodiving

As a tester I need to disable the trimming behaviour of the text mutator when filling values.

The old TextMutator will be combined with the CodeMutator for simple values

acceptance criteria

OLD TEXTMUTATOR PROPERTIES:

  • mutator respects a string option/attribute = "min-length"
  • mutator respects a string option/attribute = "max-length"

SIMPLE-CODE PROPERTIES:

  • mutator respects a boolean option/attribute "trim" (Parser is still collapsing whitespaces)
  • mutator respects a string option/attribute "separator"
  • mutator respects a string option/attribute = "values"

Properties of both functionalities can not be combined. If so an error mutation will be printed

@renzo.kottmann is this how you visualized it?

Extra requirement from #89:

  • genericode editor is available via name "genericode" (explicit) -> CodeMutator is renamed to GenericCodeMutator
Edited by Victor Del Campo Camacho