Commit Graph

13 Commits

Author SHA1 Message Date
Alex Maitland d4d1350a3d Test - Second attempt at migrating to xunit.runner.json 2022-12-05 09:41:38 +10:00
Alex Maitland f5c601d608 Test - Add more logging
- Reduce verbosity to normal
- Remove appveyor specific logging for now
- Add TestCaseOrderer to output message before test run
2022-12-05 09:10:55 +10:00
Alex Maitland daf79aacf4 Test - Readd app.config settings
Use both app.config and xunit.runner.json
Shouldn't be necessary, though still seeing problems
on appveyor
2022-12-04 15:12:56 +10:00
Alex Maitland e5c3e790fb Test - Switch to using xunit.runner.json
Use json config file to configure tests
2022-12-04 14:36:48 +10:00
Alex Maitland 0cdbef1d44 Test/Example - Upgrade to .Net 4.7.2
- Update .vsconfig to include the .Net 4.7.2 requirement and add the Net Core 3.1 feature.
2021-01-22 14:58:40 +10:00
Alex Maitland 3eca8bdba6 Enhancement - Simplify Setting of RequestContext Proxy (#3250)
Core - Simplify Setting of Proxy for new RequestContext

- Throw exception if requestContext.CanSetPreference returns false.
Proxy likely set via command line args.
- Add IRequestContext.SetPreferenceAsync
-  Test - Add SelfHosted Proxy
Use Titanium.Web.Proxy to self host a proxy for testing proxy settings
Only run Proxy Tests when run locally
- Add RequestContext Builder Fluent API
2020-10-13 13:40:46 +10:00
amaitland 3d3c1c203c Upgrade to CEF 80.1.4+g8927396+chromium-80.0.3987.149 / Chromium 80.0.3987.149 2020-04-03 09:58:37 +10:00
amaitland 4d4ea7fd71 CefSharp.Test - Upgrade Nuget deps 2019-10-05 14:04:41 +10:00
amaitland 7d7b6d8d48 Example Projects - Upgrade to .Net 4.6
Remove the usage of TrySetResultAsync and replace with TaskCreationOptions.RunContinuationsAsynchronously
2018-05-13 13:07:14 +10:00
amaitland 9407ba1828 Due to limitations of VC++ we must run our tests in the default appdomain, it's possible to use xunit for testing.
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.
2017-10-25 10:44:38 +10:00
amaitland 20bd11f731 Update to 3.2062.1898 2014-11-03 17:45:31 +10:00
jankurianski f72ca6a8e7 All projects now target .NET 4 Client Profile. 2014-10-07 18:38:43 +11:00
JanEggers 84453fd80a ported unit tests to use xunit 2014-05-23 23:04:06 +02:00