Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
230000100%38.814

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
com.github.mkolisnyk.aerial.writers6000100%0.337
com.github.mkolisnyk.aerial.expressions.value33000100%0.001
com.github.mkolisnyk.aerial.readers19000100%4.886
com.github.mkolisnyk.aerial.document77000100%2.546
com.github.mkolisnyk.aerial.core32000100%0.779
com.github.mkolisnyk.aerial.datagenerators24000100%0.482
com.github.mkolisnyk.aerial.datagenerators.algorithms32000100%0
com.github.mkolisnyk.aerial.util1000100%0.399
com.github.mkolisnyk.aerial6000100%29.384

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

com.github.mkolisnyk.aerial.writers

ClassTestsErrors FailuresSkippedSuccess RateTime
AerialFileWriterTest4000100%0.337
AerialStringWriterTest2000100%0

com.github.mkolisnyk.aerial.expressions.value

ClassTestsErrors FailuresSkippedSuccess RateTime
DateRangeValueExpressionTest9000100%0.001
EnumValueExpressionTest8000100%0
NumericRangeValueExpressionTest7000100%0
SingleDateValueExpressionTest2000100%0
SingleNumericValueExpressionTest4000100%0
StringRegexpValueExpressionTest3000100%0

com.github.mkolisnyk.aerial.readers

ClassTestsErrors FailuresSkippedSuccess RateTime
AerialFileReaderTest6000100%0
AerialGitHubReaderTest4000100%3.195
AerialJiraReaderTest4000100%1.691
AerialStringReaderTest5000100%0

com.github.mkolisnyk.aerial.document

ClassTestsErrors FailuresSkippedSuccess RateTime
CaseSectionTest10000100%2.172
DocumentTest6000100%0.01
FeatureSectionTest8000100%0.355
GenerateTest1000100%0
InputRecordTest14000100%0
InputSectionTest3000100%0
SimpleSectionTest35000100%0.009

com.github.mkolisnyk.aerial.core

ClassTestsErrors FailuresSkippedSuccess RateTime
AerialInputFormatTest3000100%0.001
AerialOutputFormatTest4000100%0
AerialParamKeysTest5000100%0
AerialParamsTest12000100%0
AerialProcessorTest1000100%0.778
AerialSourceTypeTest5000100%0
AerialTagListTest2000100%0

com.github.mkolisnyk.aerial.datagenerators

ClassTestsErrors FailuresSkippedSuccess RateTime
CustomDataGeneratorTest3000100%0
DateDataGeneratorTest6000100%0.001
NumericDataGeneratorTest5000100%0
ScenarioGeneratorTest5000100%0.456
StringDataGeneratorTest5000100%0.025

com.github.mkolisnyk.aerial.datagenerators.algorithms

ClassTestsErrors FailuresSkippedSuccess RateTime
FieldsRecordTest9000100%0
FieldsTableTest8000100%0
NWiseDataTestingAlgorithmCoreActionsTest12000100%0
NWiseDataTestingAlgorithmTest3000100%0

com.github.mkolisnyk.aerial.util

ClassTestsErrors FailuresSkippedSuccess RateTime
HsqlDBWrapperTest1000100%0.399

com.github.mkolisnyk.aerial

ClassTestsErrors FailuresSkippedSuccess RateTime
AerialMainTest4000100%11.487
AerialRunnerTest1000100%9.765
AerialTestNGRunnerTest1000100%8.132

Test Cases

[Summary] [Package List] [Test Cases]

AerialMainTest

testMainForFileInput9.776
testMainForStringInput0.006
testMainForNullArgumentListShouldReturnNoErrors0
testMainForJiraInput1.705

AerialRunnerTest

testRunSampleClass9.765

AerialTestNGRunnerTest

testRunSampleTestNGClass8.132

AerialInputFormatTest

testFromString0.001
testGetCurrent0
testGetCurrentShouldSetTheDefaultFormat0

AerialOutputFormatTest

testFromString0
testGetCurrent0
testIsValue0
testGetCurrentShouldSetTheDefaultFormat0

AerialParamKeysTest

testIsValueValidKeysShouldReturnTrueForMatchingKey0
testIsValueWrongKeysShouldReturnFalseForNotMatchingKey0
testToStringValidKeysShouldReturnProperValues0
testFromStringValidKeysShouldReturnProperValues0
testFromStringInvalidKeyShouldReturnOtherValue0

AerialParamsTest

testParse[Test parse params: No input defined]0
testValidate[Test parse params: No input defined]0
testParse[Test parse params: No input defined. Check for Configuration]0
testValidate[Test parse params: No input defined. Check for Configuration]0
testParse[Test parse params: String input defined]0
testValidate[Test parse params: String input defined]0
testParse[Test parse params: String input/file output defined]0
testValidate[Test parse params: String input/file output defined]0
testParse[Test parse params: Valid extra param defined]0
testValidate[Test parse params: Valid extra param defined]0
testParse[Test parse params: Inalid extra param defined]0
testValidate[Test parse params: Inalid extra param defined]0

AerialProcessorTest

testProcessOnValidDocument0.778

AerialSourceTypeTest

testIsValueValidKeysShouldReturnTrueForMatchingKey0
testIsValueWrongKeysShouldReturnFalseForNotMatchingKey0
testToStringValidKeysShouldReturnProperValues0
testFromStringValidKeysShouldReturnProperValues0
testFromStringInvalidKeyShouldReturnNoneValue0

AerialTagListTest

testNext0
testHasNext0

FieldsRecordTest

testEqualsShouldReturnFalseForNullRecord0
testEqualsShouldReturnTrueForSimilarAndSameRecords0
testRightDiffShouldReturnActualNumberOfDifferences0
testMatches0
testEqualsShouldReturnFalseForDifferentRecords0
testCompate0
testRightValueDiffShouldReturnActualNumberOfDifferences0
testHashCode0
testEqualsShouldReturnFalseForDifferentType0

FieldsTableTest

testAddRecordsShouldReturnDataWithZeroValues0
testIncrementExistingRecordShouldAddOneToValue0
testAddNullShouldReturnEmptyData0
testIncrementExistingRecordInitializedSeparately0
testGetSorted0
testAllNonZerosShouldReturnProperState0
testAddOnEmptyRecordsShouldReturnEmptyData0
testIncrementNonExistingRecordShouldAddNewRecord0

NWiseDataTestingAlgorithmCoreActionsTest

testGetColumnGroups[Test String generation: Column with 1 value vs Column with 2 values. 2 fields.]0
testDistinct[Test String generation: Column with 1 value vs Column with 2 values. 2 fields.]0
testGetUniqueCombinations[Test String generation: Column with 1 value vs Column with 2 values. 2 fields.]0
testGetColumnGroups[Test String generation: Column with 1 value vs Column with 3 values. 2 fields.]0
testDistinct[Test String generation: Column with 1 value vs Column with 3 values. 2 fields.]0
testGetUniqueCombinations[Test String generation: Column with 1 value vs Column with 3 values. 2 fields.]0
testGetColumnGroups[Test String generation: Column with 2 values vs Column with 3 values. 2 fields.]0
testDistinct[Test String generation: Column with 2 values vs Column with 3 values. 2 fields.]0
testGetUniqueCombinations[Test String generation: Column with 2 values vs Column with 3 values. 2 fields.]0
testGetColumnGroups[Test String generation: 3 Columns. 2 fields.]0
testDistinct[Test String generation: 3 Columns. 2 fields.]0
testGetUniqueCombinations[Test String generation: 3 Columns. 2 fields.]0

NWiseDataTestingAlgorithmTest

testGenerateTestData0
testGenerateTestFullRecordsData0
testGetUniqueCombinations0

CustomDataGeneratorTest

testGenerateCustomClassWithPropertySet0
testGenerateCustomClassForInnerTypeNoPropertySetShouldFail0
testGenerateCustomClassForInnerTypeWithPropertySet0

DateDataGeneratorTest

testGenerate[Test read input record: Simple date format: ]0
testGenerate[Test read input record: All inclusive range]0.001
testGenerate[Test read input record: Upper exclusive range]0
testGenerate[Test read input record: All exclusive range]0
testGenerate[Test read input record: Lower exclusive range]0
testGenerate[Test read input record: Spaces should be handled]0

NumericDataGeneratorTest

testGenerate[Test read input record: Single value field should return value or 0 for negative case]0
testGenerate[Test read input record: Single 0 value field should return 0 or -1 for negative case]0
testGenerate[Test read input record: Inclusive range]0
testGenerate[Test read input record: All Inclusive range]0
testGenerate[Test read input record: All exclusive range]0

ScenarioGeneratorTest

testGetUniqueNamesForEmptyInputShouldReturnEmptyList0
testGenerateQueryStringShouldReturnConsistentString0
testGenerateValidSetOfData0.456
testGetUniqueNamesForNullInputShouldReturnEmptyList0
testGetUniqueNamesForValidInputShouldReturnOnlyUniqueNames0

StringDataGeneratorTest

testGenerate[Test String generation: Any character string.]0
testGenerate[Test String generation: Any number string.]0
testGenerate[Test String generation: Any word string.]0
testGenerate[Test String generation: Any space string.]0.025
testGenerate[Test String generation: Specific format string.]0

CaseSectionTest

testValidateShouldFailIfMandatorySectionsAreMissing0
testGenerateShouldReturnValidFormattedText0.365
testGenerateWithCustomGeneratorShouldReturnCustomScenario0.626
testValidateAllContentShouldSucceed0
testParseValidScenarioShouldFillAllSections0
testGenerateWithMandatoryFieldsShouldReturnMandatoryValueScenario0.58
testParseForTextWithNoTokensShouldReturnJustDescription0
testValidatePrerequisitesSectionIsOptional0.002
testGenerateWithUniqueFieldsShouldReturnUniqueValueScenario0.562
testValidatePrerequisitesSectionShouldFailIfSetWrong0.037

DocumentTest

testGenerateWithExternalInputsShouldResolveReferences0.001
testValidateShouldFailIfMandatorySectionsAreMissing0.002
testGenerateShouldReturnValidFormattedText0.001
testValidateAllContentShouldSucceed0.003
testParseValidScenarioShouldFillAllSections0.002
testParseForTextWithNoTokensShouldReturnJustDescription0.001

FeatureSectionTest

testValidateShouldFailOnEmptyCaseName0.005
testValidateShouldFailIfMandatorySectionsAreMissing0.001
testValidateScenariosSectionShouldFailIfSetWrong0.003
testGenerateShouldReturnValidFormattedText0.303
testValidateAllContentShouldSucceed0.006
testParseValidScenarioShouldFillAllSections0
testValidateScenariosSectionIsOptional0.037
testParseForTextWithNoTokensShouldReturnJustDescription0

GenerateTest

testInputSectionGenerateShouldReturnFormattedText0

InputRecordTest

testRead[Test read input record: Normal set of fields]0
testRead[Test read input record: Only type is missing]0
testRead[Test read input record: Only value is missing]0
testRead[Test read input record: Only no condition]0
testRead[Test read input record: Different order should fill values properly]0
testRead[Test read input record: Varying header case should still work]0
testRead[Test read input record: Spaces in header names should still work]0
testRead[Test read input record: The size of header doesn't match the line]0
testRead[Test read input record: Malformed Header should fail]0
testRead[Test read input record: Malformed Line should fail]0
testRead[Test read input record: Name field shouldn't be empty]0
testRead[Test read input record: Name field should be present]0
testRead[Test read input record: Unique field set]0
testRead[Test read input record: Mandatory field set]0

InputSectionTest

testParseString[Test read input record: Normal set of fields]0
testParseString[Test read input record: Only header is defined]0
testParseString[Test read input record: No header defined]0

SimpleSectionTest

testParseEmptyStringShouldThrowError[Test: Action Section]0
testParseNullStringShouldThrowError[Test: Action Section]0
testValidateValidFormat[Test: Action Section]0
testValidateShouldReturnExceptionOnEmptyInput[Test: Action Section]0
testValidateShouldReturnExceptionOnNullInput[Test: Action Section]0
testParseValidFormat[Test: Action Section]0
testGenerateShouldReturnFormattedString[Test: Action Section]0
testParseEmptyStringShouldThrowError[Test: Valid Output Section]0
testParseNullStringShouldThrowError[Test: Valid Output Section]0
testValidateValidFormat[Test: Valid Output Section]0.001
testValidateShouldReturnExceptionOnEmptyInput[Test: Valid Output Section]0
testValidateShouldReturnExceptionOnNullInput[Test: Valid Output Section]0
testParseValidFormat[Test: Valid Output Section]0
testGenerateShouldReturnFormattedString[Test: Valid Output Section]0.001
testParseEmptyStringShouldThrowError[Test: Error Output Section]0.001
testParseNullStringShouldThrowError[Test: Error Output Section]0.001
testValidateValidFormat[Test: Error Output Section]0.002
testValidateShouldReturnExceptionOnEmptyInput[Test: Error Output Section]0
testValidateShouldReturnExceptionOnNullInput[Test: Error Output Section]0
testParseValidFormat[Test: Error Output Section]0.001
testGenerateShouldReturnFormattedString[Test: Error Output Section]0.001
testParseEmptyStringShouldThrowError[Test: Prerequisites Section]0
testParseNullStringShouldThrowError[Test: Prerequisites Section]0
testValidateValidFormat[Test: Prerequisites Section]0
testValidateShouldReturnExceptionOnEmptyInput[Test: Prerequisites Section]0
testValidateShouldReturnExceptionOnNullInput[Test: Prerequisites Section]0
testParseValidFormat[Test: Prerequisites Section]0
testGenerateShouldReturnFormattedString[Test: Prerequisites Section]0
testParseEmptyStringShouldThrowError[Test: Additional Scenario Section]0
testParseNullStringShouldThrowError[Test: Additional Scenario Section]0
testValidateValidFormat[Test: Additional Scenario Section]0
testValidateShouldReturnExceptionOnEmptyInput[Test: Additional Scenario Section]0
testValidateShouldReturnExceptionOnNullInput[Test: Additional Scenario Section]0.001
testParseValidFormat[Test: Additional Scenario Section]0
testGenerateShouldReturnFormattedString[Test: Additional Scenario Section]0

DateRangeValueExpressionTest

testParse[Test date range value: All inclusive range]0
testParse[Test date range value: Upper exclusive range]0
testParse[Test date range value: All exclusive range]0
testParse[Test date range value: Lower exclusive range]0
testParse[Test date range value: Spaces should be handled]0
testParse[Test date range value: Invalid order range]0.001
testParse[Test date range value: Empty range should cause the failure]0
testParse[Test date range value: Wrong format should cause the failure]0
testParse[Test date range value: Wrong but matching format should cause the failure]0

EnumValueExpressionTest

testGenerateShouldHandleEnumsProperly[Test generate enum: Excercising simple valid enum]0
testValidateShouldProcessCorrectly[Test generate enum: Excercising simple valid enum]0
testGenerateShouldHandleEnumsProperly[Test generate enum: Excercising delimiter masking]0
testValidateShouldProcessCorrectly[Test generate enum: Excercising delimiter masking]0
testGenerateShouldHandleEnumsProperly[Test generate enum: Excercising enum and check trim spaces]0
testValidateShouldProcessCorrectly[Test generate enum: Excercising enum and check trim spaces]0
testGenerateShouldHandleEnumsProperly[Test generate enum: Excercising empty enum]0
testValidateShouldProcessCorrectly[Test generate enum: Excercising empty enum]0

NumericRangeValueExpressionTest

testParse[Test numeric range value: All inclusive range]0
testParse[Test numeric range value: Negative range]0
testParse[Test numeric range value: Upper exclusive range]0
testParse[Test numeric range value: All exclusive range]0
testParse[Test numeric range value: Lower exclusive range]0
testParse[Test numeric range value: Invalid order range]0
testParse[Test numeric range value: Empty range should cause the failure]0

SingleDateValueExpressionTest

testGenerate[Test Date input record: Simple date format: . Format: dd/MM/yyyy]0
testGenerate[Test Date input record: Another date format: . Format: dd MMM, yyyy]0

SingleNumericValueExpressionTest

testGenerate[Test read input record: Single value field should return value or 0 for negative case]0
testGenerate[Test read input record: Single negative value field should return value or 0 for negative case]0
testGenerate[Test read input record: Single 0 value field should return 0 or -1 for negative case]0
testGenerate[Test read input record: Improper format shouldn't pass validation]0

StringRegexpValueExpressionTest

testGenerate[Test generate regexp string: Excercising e-mail format]0
testGenerate[Test generate regexp string: Excercising phone number format]0
testGenerate[Test generate regexp string: Excercising enumerations]0

AerialFileReaderTest

testFullFileNameShouldReturnSingleFileContent0
testClosedFileListShouldReturnNoContent0
testSimpleFileNameShouldReturnSingleFileContent0
testRegExpPathFileNameShouldReturnSingleFileContent0
testEmptyFileListShouldReturnNoContent0
testRegExpUnixPathFileNameShouldReturnSingleFileContent0

AerialGitHubReaderTest

testOpenGitHubReaderValidQueryShouldFillContentProperly2.478
testOpenGitHubReaderForEmptyQueryShouldReturnEmptyData0.314
testClosedGitHubReaderShouldReturnNullValues0.146
testOpenGitHubReaderForWrongQuery0.257

AerialJiraReaderTest

testOpenJiraReaderForQueryWithoutExpectedField0.358
testOpenJiraReaderValidQueryShouldFillContentProperly0.556
testClosedJiraReaderShouldReturnNullValues0.582
testOpenJiraReaderForEmptyQueryShouldReturnEmptyData0.195

AerialStringReaderTest

testOpenWithParametersShouldStoreAllStringsPassed0
testOpenWithoutParametersShouldStoreNoValues0
testConstructorShouldCreateObjectWithEmptyContent0
testCloseOfClosedReaderShouldntThrowErrors0
testCloseOpenedReaderRemovesAllValues0

HsqlDBWrapperTest

testExecute0.399

AerialFileWriterTest

testSampleGenerateDocumentShouldProduceValidFormattedFile0.309
testClosedFileWriterShouldBehaveAsEmptyWriter0.007
testFileWriterShouldHandleNullDocument0.014
testFileWriterShouldHandleEmptyDocument0.007

AerialStringWriterTest

testWriteNextShouldHandleNullIterator0
testHasNextShouldReturnNullOnNullIterator0