You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// When the dataset has more than one table, test fails when compare tableNames length. I think the code here should be Assertion.assertEquals(expectedDataSet.getTable(tableName), dataSet.getTable(tableName));
The text was updated successfully, but these errors were encountered:
jtchatchoua
changed the title
Bug in DataSetTestExecutionListener at line 96 (Version 1.4.0)
Bug in DataSetTestExecutionListener at line 86 (Version 1.4.0)
Sep 2, 2016
private void checkDatas(TestContext testContext) throws Exception {
ExpectedDataSetConfiguration expectedConfiguration = getExpectedConfiguration(testContext);
if (expectedConfiguration != null) {
IDataSet expectedDataSet = expectedConfiguration.getDataSet();
for (String tableName : expectedDataSet.getTableNames()) {
IDataSet dataSet = dataReader.execute(testContext.getApplicationContext(), getExpectedConfiguration(testContext), tableName);
String[] columnsToIgnore = expectedConfiguration.getColumnsToIgnore();
if (columnsToIgnore == null || columnsToIgnore.length == 0) {
// When the dataset has more than one table, test fails when compare tableNames length. I think the code here should be
Assertion.assertEquals(expectedDataSet.getTable(tableName), dataSet.getTable(tableName));
The text was updated successfully, but these errors were encountered: