mardi 29 mai 2018

C# Way to validate test data

I'm running a test where i need to validate data from a linux file. I've defined the path of the file is located (see below). Once i cat the file to read the data contents (irm_dwge_stt_l__xxxx.csv.ovr) how can i validate the data within this file

Also where i have defined the measurementName where can i define what measurements belong within this.

 public string validateMeasurement(string measurementName, string domaianName)
    {
        var processFilePath = "/inputs/ff/ff/actuals/" + measurementName + ".csv.ovr";
        var actualItemData = Common.LinuxCommandExecutor.
            RunLinuxcommand("cat " + processFilePath);

        return actualItemData;

Aucun commentaire:

Enregistrer un commentaire