Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
27 0 0 5 81.481% 16.872

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.432
us.codecraft.webmagic.model 14 0 0 0 100% 0.572
us.codecraft.webmagic 1 0 0 1 0% 0.008
us.codecraft.webmagic.scheduler 5 0 0 4 20% 0.03
us.codecraft.webmagic.configurable 1 0 0 0 100% 5.042
us.codecraft.webmagic.utils 3 0 0 0 100% 0.038
us.codecraft.webmagic.monitor 2 0 0 0 100% 10.75

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.432

us.codecraft.webmagic.model

Class Tests Errors Failures Skipped Success Rate Time
GithubRepoTest 1 0 0 0 100% 0.101
PageModelExtractorTest 9 0 0 0 100% 0.167
PageMapperTest 1 0 0 0 100% 0.006
ModelPageProcessorTest 3 0 0 0 100% 0.298

us.codecraft.webmagic

Class Tests Errors Failures Skipped Success Rate Time
SimpleHttpClientTest 1 0 0 1 0% 0.008

us.codecraft.webmagic.scheduler

Class Tests Errors Failures Skipped Success Rate Time
RedisPrioritySchedulerTest 1 0 0 1 0% 0.002
BloomFilterDuplicateRemoverTest 3 0 0 2 33.333% 0.028
RedisSchedulerTest 1 0 0 1 0% 0

us.codecraft.webmagic.configurable

Class Tests Errors Failures Skipped Success Rate Time
ConfigurablePageProcessorTest 1 0 0 0 100% 5.042

us.codecraft.webmagic.utils

Class Tests Errors Failures Skipped Success Rate Time
RequestUtilsTest 2 0 0 0 100% 0.032
IPUtilsTest 1 0 0 0 100% 0.006

us.codecraft.webmagic.monitor

Class Tests Errors Failures Skipped Success Rate Time
SpiderMonitorTest 1 0 0 0 100% 0.004
SeedUrlWithPortTest 1 0 0 0 100% 10.746

Test Cases

[Summary] [Package List] [Test Cases]

RedisPrioritySchedulerTest

test 0
environment depended

GithubRepoTest

test 0.082

BloomFilterDuplicateRemoverTest

testMissHit 0
long time
testMemory 0
long time
testRemove 0.026

PageModelExtractorTest

testXpath 0.028
testExtractInt 0.016
testExtractIntList 0.007
testExtractCustomList 0.007
testExtractDate 0.007
testExtractJson 0.069
testExtractList 0.016
testExtractDateList 0.006
testExtractByUrl 0.006

PageMapperTest

test_get 0.004

SpiderMonitorTest

testInherit 0.002

RequestUtilsTest

test_generate_range 0.027
test_generate_range_when_invalid_number 0.002

DateFormatterTest

testDateFormatter 0.347

SeedUrlWithPortTest

testSeedUrlWithPort 10.744

SimpleHttpClientTest

test 0
skipped

IPUtilsTest

testGetFirstNoLoopbackIPAddresses 0

ConfigurablePageProcessorTest

test 5.035

ModelPageProcessorTest

testExtractNoLinks 0.104
testMultiModel_should_not_skip_when_match 0.179
testExtractLinks 0.012

RedisSchedulerTest

test 0
environment depended

Failure Details

[Summary] [Package List] [Test Cases]


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