Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
27 0 0 5 81.5% 19.17 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.023 s
us.codecraft.webmagic.model 14 0 0 0 100% 2.944 s
us.codecraft.webmagic 1 0 0 1 0% 0 s
us.codecraft.webmagic.scheduler 5 0 0 4 20.0% 0.128 s
us.codecraft.webmagic.configurable 1 0 0 0 100% 5.110 s
us.codecraft.webmagic.utils 3 0 0 0 100% 0.004 s
us.codecraft.webmagic.monitor 2 0 0 0 100% 10.96 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.023 s

us.codecraft.webmagic.model

- Class Tests Errors Failures Skipped Success Rate Time
GithubRepoTest 1 0 0 0 100% 2.431 s
ModelPageProcessorTest 3 0 0 0 100% 0.027 s
PageModelExtractorTest 9 0 0 0 100% 0.482 s
PageMapperTest 1 0 0 0 100% 0.004 s

us.codecraft.webmagic

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

us.codecraft.webmagic.scheduler

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

us.codecraft.webmagic.configurable

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

us.codecraft.webmagic.utils

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

us.codecraft.webmagic.monitor

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

Test Cases

[Summary] [Package List] [Test Cases]

SpiderMonitorTest

testInherit 0.015 s

BloomFilterDuplicateRemoverTest

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

GithubRepoTest

test 2.309 s

SeedUrlWithPortTest

testSeedUrlWithPort 10.94 s

ConfigurablePageProcessorTest

test 5.106 s

DateFormatterTest

testDateFormatter 0.022 s

RedisPrioritySchedulerTest

test 0 s
- environment depended -

IPUtilsTest

testGetFirstNoLoopbackIPAddresses 0 s

ModelPageProcessorTest

testExtractNoLinks 0.002 s
testMultiModel_should_not_skip_when_match 0.009 s
testExtractLinks 0.010 s

PageModelExtractorTest

testXpath 0.053 s
testExtractInt 0.006 s
testExtractIntList 0.025 s
testExtractCustomList 0.024 s
testExtractDate 0.216 s
testExtractJson 0.129 s
testExtractList 0.006 s
testExtractDateList 0.005 s
testExtractByUrl 0.002 s

RequestUtilsTest

test_generate_range 0 s
test_generate_range_when_invalid_number 0 s

PageMapperTest

test_get 0 s

SimpleHttpClientTest

test 0 s
- skipped -

RedisSchedulerTest

test 0 s
- environment depended -

Failure Details

[Summary] [Package List] [Test Cases]


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