Home Identifier Source Test Repository

Test

Description Identifier Count

should simply check given url

-

should simply check broken url (404)

-

should simply check broken url (500)

-

should skip links without href attributes

-

should not check same url twice (absolute url)

-

should not check same url twice (relative url)

-

should use pending queue for small concurrency

-

should mark url as broken if timeout was occur

-

should mark url as valid if timeout is greater then server response time

-

should mark url as broken if timeout was occur for all attempts

-

should mark url as valid if it was checked from second attempt

-

should not check urls with another schemes

-

should check urls with schemes from array of acceptedSchemes

-

should mark url as broken in case of not accessible request headers

-

should check url in case of accessible request headers

-

should not check excluded urls

-

should not check external link

-

should check external link

-

should check and mark broken external link

-

should not mark url as broken if timeout was occur for all attempts

-

should mark url as valid if it was checked from second attempt

-

should create configuration directory

-

should create configuration stub

-

should create configuration file

-

should throw error if config param was not set

-

should throw error if config file is missed

-

with default params

-

with custom params

-

should get valid option value

-

should set option value for given option name

-

should set default value if option was not set

-

should have default onDone handler

-

should be initialized with default params if options were not set

-

should be initialized with default params if options are empty

-

should override default concurrent option

-

should override default requestHeaders option

-

should override default requestRetriesAmount option

-

should override default requestTimeout option

-

should override default acceptedSchemes rule

-

should override default checkExternalUrls option

-

should override default excludeLinkPatterns rule

-

should throw error if url param was not set

-

should throw error if url param has invalid format

-

should return valid request options object

-

should have valid url field value after initialization

-

should have valid options field value after initialization

-

should skip url with non-accepted schema

-

should pass url with accepted schema

-

should pass external url if "checkExternalUrls" is set to true

-

should skip external url if "checkExternalUrls" is set to false

-

should pass internal url if "checkExternalUrls" is set to true

-

should pass internal url if "checkExternalUrls" is set to false

-

should pass url if it does not matches any regular expression

-

should skip url if it does matches at least one of regular expressions

-

should skip url if it equal to one of blacklisted urls

-

should skip url if it matches to "http://my.site.com/foo/*"

-

should skip url if it matches to "http://my.site.com/*/bar"

-

should skip url if it matches to "http://my.site.com/*"

-

should skip url if it matches to "*/foo/bar"

-

should skip url with anchor if it equal to one of to one of blacklisted urls

-

should skip url with anchor if it matches to "http://my.site.com/foo/*#a"

-

should skip url with anchor if it matches to "http://my.site.com/*/bar#a"

-

should pass url if it does not matches on any blacklisted urls

-

should pass url if url of page where it is equals to root page

-

should skip url if url of page where it does not equal to root page

-

should pass url it is child against to root page

-

should pass url it is sibling to root page

-

should pass url it is parent to root page

-

should skip url it from another section of website

-

should skip "mailto://my.site.com/url1"

-

should skip "http://google.com"

-

should pass "http://my.site.com/url1"

-

should skip "http://my.site.com/foo1"

-

should pass "https://my.site.com/url1"

-

should skip "mailto://my.site.com/foo2"

-

should initialize empty broken urls model after initialization

-

should add broken links model item to list of broken links

-

should return all broke link items from model

-

should return valid set of broken link items by given status code

-

should return valid set of broken link items by status code 404

-

should return valid set of broken link items by status code 500

-

should return instance of BrokenUrls class

-

should clear broken link items model

-

should create BrokenUrls instance by static method

-

should have res getter

-

should have url getter

-

should have $ getter

-

should resolve link url based on _url

-

should set value to _res field

-

should set value to _url field

-

should set value to _$ field

-

should increase internal count

-

should increase external count

-

should return valid internal count value

-

should return valid external count value

-

should return valid count of all processed urls

-

should return broken links model

-

should return valid result of getBrokenCount method

-

should return instance of Statistic class by create static method

-

should have zero _countExternal value after initialization

-

should have zero _countInternal value after initialization

-

should have empty broken links model after initialization

-

should create reports folder

-

should create report folder for given config name

-

should save report file

-

should can be initialized

-

should return valid path to configuration folder

-

should return valid path to reports folder

-