A .NET webtester/link checker, that also integrates well with NUnit
C# XML PowerShell Other
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.nuget
config
lib/SourceMonitor
scripts
src
test
.gitignore
Build.cmd
CountRevisions.cmd
Default.htm.template
GenerateNuGet.cmd
GetTools.ps1
PrepareCommit.cmd
SourceMonitor-Top15Generation.xsl
Test.cmd
Test2.cmd
Uncas.WebTester.sln
WebTester.FxCop
WebTester.build
build.ps1
license-mit.txt
local.properties.xml.template
readme.md

readme.md

This project makes it possible to crawl a website and output details about the crawled pages to for example an SQL server database, or in a NUnit test suite.

For example, it is possible to set the program to crawl 1000 pages as one NUnit test, and fail the test if there are HTTP status codes different from 200 OK.

Quick start

Get the latest build here: http://test.uncas.dk/WebTester.htm

Edit Uncas.WebTester.ConsoleApp.exe.config to your settings:

  • maxPages: the max number of pages to crawl

  • url: start url

  • matches: the crawler only visits pages that starts with these urls

  • webTesterConnectionString: the connection string to a SQL server

Run Uncas.WebTester.ConsoleApp.exe without arguments which uses the values from the config file.

Or use command-line input syntax:

Uncas.WebTester.ConsoleApp.exe -url http://www.google.com -maxPages 100 -connectionString "Server=...;Database=...;Integrated Security=true" -matches http://www.google.com

Finally the results van be viewed in the database.