Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
27 0 0 5 81.5% 18.51 s

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


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
us.codecraft.webmagic.formatter 1 0 0 0 100% 0.770 s
us.codecraft.webmagic.model 14 0 0 0 100% 1.926 s
us.codecraft.webmagic 1 0 0 1 0% 0.002 s
us.codecraft.webmagic.configurable 1 0 0 0 100% 5.080 s
us.codecraft.webmagic.scheduler 5 0 0 4 20.0% 0.116 s
us.codecraft.webmagic.utils 3 0 0 0 100% 0.006 s
us.codecraft.webmagic.monitor 2 0 0 0 100% 10.61 s

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

us.codecraft.webmagic.formatter

- Class Tests Errors Failures Skipped Success Rate Time
DateFormatterTest 1 0 0 0 100% 0.770 s

us.codecraft.webmagic.model

- Class Tests Errors Failures Skipped Success Rate Time
GithubRepoTest 1 0 0 0 100% 0.225 s
ModelPageProcessorTest 3 0 0 0 100% 1.476 s
PageModelExtractorTest 9 0 0 0 100% 0.043 s
PageMapperTest 1 0 0 0 100% 0.182 s

us.codecraft.webmagic

- Class Tests Errors Failures Skipped Success Rate Time
SimpleHttpClientTest 1 0 0 1 0% 0.002 s

us.codecraft.webmagic.configurable

- Class Tests Errors Failures Skipped Success Rate Time
ConfigurablePageProcessorTest 1 0 0 0 100% 5.080 s

us.codecraft.webmagic.scheduler

- Class Tests Errors Failures Skipped Success Rate Time
RedisPrioritySchedulerTest 1 0 0 1 0% 0 s
BloomFilterDuplicateRemoverTest 3 0 0 2 33.3% 0.114 s
RedisSchedulerTest 1 0 0 1 0% 0.002 s

us.codecraft.webmagic.utils

- Class Tests Errors Failures Skipped Success Rate Time
IPUtilsTest 1 0 0 0 100% 0.004 s
RequestUtilsTest 2 0 0 0 100% 0.002 s

us.codecraft.webmagic.monitor

- Class Tests Errors Failures Skipped Success Rate Time
SpiderMonitorTest 1 0 0 0 100% 0.007 s
SeedUrlWithPortTest 1 0 0 0 100% 10.61 s

Test Cases

[Summary] [Package List] [Test Cases]

ConfigurablePageProcessorTest

test 5.079 s

RedisPrioritySchedulerTest

test 0 s
- environment depended -

GithubRepoTest

test 0.223 s

ModelPageProcessorTest

testExtractNoLinks 1.090 s
testMultiModel_should_not_skip_when_match 0.326 s
testExtractLinks 0.053 s

SpiderMonitorTest

testInherit 0.006 s

BloomFilterDuplicateRemoverTest

testMissHit 0 s
- long time -
testMemory 0 s
- long time -
testRemove 0.113 s

IPUtilsTest

testGetFirstNoLoopbackIPAddresses 0.003 s

PageModelExtractorTest

testXpath 0.004 s
testExtractInt 0.004 s
testExtractIntList 0.007 s
testExtractCustomList 0.006 s
testExtractDate 0.004 s
testExtractJson 0.002 s
testExtractList 0.004 s
testExtractDateList 0.004 s
testExtractByUrl 0.002 s

SeedUrlWithPortTest

testSeedUrlWithPort 10.60 s

RedisSchedulerTest

test 0 s
- environment depended -

DateFormatterTest

testDateFormatter 0.639 s

RequestUtilsTest

test_generate_range 0 s
test_generate_range_when_invalid_number 0 s

PageMapperTest

test_get 0.179 s

SimpleHttpClientTest

test 0 s
- skipped -

Failure Details

[Summary] [Package List] [Test Cases]


test
- skipped: environment depended
testMissHit
- skipped: long time
testMemory
- skipped: long time
test
- skipped: environment depended
test
- skipped: skipped