Skip to content

feat: rewrite and improve tests using MontoyaAPI

Sign in for the full log view
GitHub Actions / Maven Tests succeeded Feb 27, 2024 in 0s

17 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
target/surefire-reports/TEST-com.cys4.sensitivediscoverer.MainUITest.xml 6✅ 2s
target/surefire-reports/TEST-com.cys4.sensitivediscoverer.model.RegexEntityTest.xml 6✅ 13ms
target/surefire-reports/TEST-com.cys4.sensitivediscoverer.RegexScannerTest.xml 3✅ 885ms
target/surefire-reports/TEST-com.cys4.sensitivediscoverer.RegexSeederTest.xml 2✅ 19ms

✅ target/surefire-reports/TEST-com.cys4.sensitivediscoverer.MainUITest.xml

6 tests were completed in 2s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.cys4.sensitivediscoverer.MainUITest 6✅ 2s

✅ com.cys4.sensitivediscoverer.MainUITest

✅ testGetExtensionsRegexList
✅ testGetScannerOptions
✅ testGetExtensionName
✅ testGetGeneralRegexList
✅ testGetCallbacks
✅ testGetMainPanel

✅ target/surefire-reports/TEST-com.cys4.sensitivediscoverer.model.RegexEntityTest.xml

6 tests were completed in 13ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.cys4.sensitivediscoverer.model.RegexEntityTest 6✅ 13ms

✅ com.cys4.sensitivediscoverer.model.RegexEntityTest

✅ checkRegexEntityFromCSV
✅ testDefaultRegexIsActive
✅ getSectionsHumanReadable
✅ testInvalidRegexConstructor
✅ testInvalidSectionsConstructor
✅ testActiveFlag

✅ target/surefire-reports/TEST-com.cys4.sensitivediscoverer.RegexScannerTest.xml

3 tests were completed in 885ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.cys4.sensitivediscoverer.RegexScannerTest 3✅ 885ms

✅ com.cys4.sensitivediscoverer.RegexScannerTest

✅ testGeneralRegexesNoFindings
✅ testGeneralRegexesNoDuplicatesInFindings
✅ testGeneralRegexesWithFindings

✅ target/surefire-reports/TEST-com.cys4.sensitivediscoverer.RegexSeederTest.xml

2 tests were completed in 19ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.cys4.sensitivediscoverer.RegexSeederTest 2✅ 19ms

✅ com.cys4.sensitivediscoverer.RegexSeederTest

✅ generalRegexesMatching
✅ extensionRegexesMatching