Skip to content

Build and test

Sebastián Passaro edited this page Dec 21, 2023 · 5 revisions

How to build

You can build and test from source pretty easily:

git clone https://github.com/spassarop/antisamy-dotnet.git
cd antisamy-dotnet
dotnet build OWASP.AntiSamy.sln

To build without tests:

dotnet build OWASP.AntiSamy/OWASP.AntiSamy.csproj

Also, you always can just build the project/solution from Visual Studio.

How to test

To run the tests:

dotnet test OWASP.AntiSamy.sln

Supported platforms

.NET and .NET Framework versions covered by .NET Standard 2.0.

Dependencies

Core:

  • AngleSharp (v0.17.1)
  • AngleSharp.Css (v0.17.0)
  • HtmlAgilityPack (v1.11.55)

Tests:

  • FluentAssertions (v5.10.3)
  • Microsoft.NET.Test.Sdk (v17.0.0)
  • NUnit (v3.13.2)
  • NUnit3TestAdapter (v4.3.2)
Clone this wiki locally