diff --git a/Crawler.Tests/Crawler.Tests.fsproj b/Crawler.Tests/Crawler.Tests.fsproj new file mode 100644 index 0000000..1108118 --- /dev/null +++ b/Crawler.Tests/Crawler.Tests.fsproj @@ -0,0 +1,36 @@ + + + + net7.0 + + false + true + true + + + + + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive +all + + runtime; build; native; contentfiles; analyzers; buildtransitive +all + + + + + + + + + + + + + diff --git a/Crawler.Tests/CrawlerTest.fs b/Crawler.Tests/CrawlerTest.fs new file mode 100644 index 0000000..c25ff41 --- /dev/null +++ b/Crawler.Tests/CrawlerTest.fs @@ -0,0 +1,83 @@ +module Crawler.Tests + +open NUnit.Framework +open FsUnit +open Moq +open Сrawler.Сrawler +open System.Net.Http + +let informationInTestUrl = + "