mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
9407ba1828
Readd CefSharp.Test.csproj to solution Add some very basic unit tests using xunit, DisableTestParallelization, Set xunit.appDomain to denied in app.config to disable using appdomains (https://xunit.github.io/docs/configuring-with-xml.html) Add xunit vs test running packages, using 2.2.0 version as 2.3.0 was throwing an exception similar to https://github.com/xunit/xunit/issues/1514 TODO: Take a look at https://github.com/NuGet/NuGetGallery/tree/master/tests/NuGetGallery.Facts for some ideas on structuring xunit tests (look at implementing Theory) NOTE: I am not providing this as a definitive set of tests, it's simply here to get someone else started in creating tests as it appears people have trouble dealing with AppDomain problem Only includes Tests for the OffScreen version at this stage.
12 lines
359 B
XML
12 lines
359 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<configuration>
|
|
<startup>
|
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2"/>
|
|
</startup>
|
|
<appSettings>
|
|
<add key="xunit.appDomain" value="denied"/>
|
|
<add key="xunit.diagnosticMessages" value="true"/>
|
|
<add key="xunit.maxParallelThreads" value="1"/>
|
|
</appSettings>
|
|
</configuration>
|