Class FilePathParser

java.lang.Object
net.thucydides.core.configuration.FilePathParser

public class FilePathParser
extends java.lang.Object
Builds a file path by substituting environment variables. Supported environment variables include $HOME, $USERDIR and $DATADIR. $DATADIR is provided by setting the serenity.data.dir environment property. $TEMPDIR is a dynamically generated temporary directory that will be deleted after the tests, and that is created once for each test
  • Constructor Details

  • Method Details

    • forEnvironmentVariables

      public static FilePathParser forEnvironmentVariables​(EnvironmentVariables environmentVariables)
    • getInstanciatedPath

      public java.lang.String getInstanciatedPath​(java.lang.String path)
    • getFileSeparator

      protected java.lang.String getFileSeparator()
    • getFileSeparatorToReplace

      protected java.lang.String getFileSeparatorToReplace()