Skip to content

File filter - provide file sync, with filename and content rewriting #11

Description

@ashleyfrieze
// optional @Rule on subclass that is a rule
// with JUnit5 extension to execute it
public FileSource fileSource = new FileSource(fromPath("../other-project/src/test/resources"))
    .renamed(stripExtension())
    .copyTo(Paths.get("src/test/resources/copied"))
    .filterLines(replace("```", "\"\"\"");

with .execute method to just do it now
with .clean method to wipe them
with .syncMode() allowing ADD_ONLY, INCREMENTAL or CLEAN, or MIRROR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions