public void ReadExcelFileWithInvalidFormatOfCells_ShouldThrowException() { var currentDirectory = GetProjectFSPath(); var filePath = $@"{currentDirectory}/invalid.xlsx"; FilesOperations.ReadExcelFile(filePath); }
public void ReadValidExcelFile_XlsExtension_ShouldReturnNotEmptyData() { var currentDirectory = GetProjectFSPath(); var filePath = $@"{currentDirectory}/testOldFormat.xls"; var data = FilesOperations.ReadExcelFile(filePath); Assert.IsNotNull(data); }
public void ReadExcelFile_XlsxExtension() { var currentDirectory = GetProjectFSPath(); var filePath = $@"{currentDirectory}/test.xlsx"; var data = FilesOperations.ReadExcelFile(filePath); Assert.IsNotNull(data); }