Copilot
41dde35d74
Replace custom TestMethodForPlatformAttribute with MSTest OSCondition ( #1766 )
...
* Initial plan
* Replace TestMethodForPlatformAttribute with OSCondition attribute
Co-authored-by: Rob-Hague <5132141+Rob-Hague@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: Rob-Hague <5132141+Rob-Hague@users.noreply.github.com >
2026-03-01 18:02:08 +01:00
mus65
933613e31c
Update to MSTest 4 ( #1721 )
...
* Update to MSTest 4
* fix TestMethodForPlatformAttribute
replace Execute with ExecuteAsync and fix MSTEST0057
https://learn.microsoft.com/en-us/dotnet/core/testing/mstest-analyzers/mstest0057 (link currently dead)
* fix compilation error
* fix MSTEST0037
https://learn.microsoft.com/en-us/dotnet/core/testing/mstest-analyzers/mstest0037
* fix MSTEST0052
https://learn.microsoft.com/en-us/dotnet/core/testing/mstest-analyzers/mstest0052
* fix MSTEST0045
Fixing this properly would require the tests to respect
testContext.CancellationToken. I'm not sure this is worth fixing
or how to even do it for the sync methods.
https://learn.microsoft.com/en-us/dotnet/core/testing/mstest-analyzers/mstest0045
* fix MSTEST0001
I assume that parallelization would break a lot of stuff.
https://learn.microsoft.com/en-us/dotnet/core/testing/mstest-analyzers/mstest0001
* Workaround for new Sonar warnings because of MSTest4
* revert analyzer fixes in OrderedDictionaryTest
* use custom sync console logger for MSTest
to work around https://github.com/microsoft/testfx/issues/6457
* remove redundant args
---------
Co-authored-by: Wojciech Nagórski <wojtpl2@gmail.com >
Co-authored-by: Rob Hague <rob.hague00@gmail.com >
2025-11-14 22:09:13 +01:00
Rob Hague
919af754df
Remove unnecessary DNS lookup in Connect ( #1412 )
...
The library currently performs a DNS lookup of the desired host, takes the first
returned IP address and connects to that. Instead, we can just pass the hostname
down to System.Net.Sockets which will do the right thing, potentially trying
multiple addresses if needed.
Co-authored-by: Wojciech Nagórski <wojtpl2@gmail.com >
2024-06-18 07:41:00 +02:00
Wojciech Nagórski
d3641a0676
Test integration tests ( #1250 )
...
* Test integration tests
* Update appveyor.yml
* Update appveyor.yml
* Update Dockerfile
* Update appveyor.yml
* test?
* Test
* Enable docker
* Update appveyor.yml
* Update appveyor.yml
* Fix & Show additional information
* Try to fix connection problems
* Fix build
* remove artifacts
* Enable logging
* Log Information only
* Update appveyor.yml
Co-authored-by: Rob Hague <rob.hague00@gmail.com >
* Update appveyor.yml
* Update appveyor.yml
Co-authored-by: Rob Hague <rob.hague00@gmail.com >
* Update appveyor.yml
Co-authored-by: Rob Hague <rob.hague00@gmail.com >
* Update appveyor.yml
* Update appveyor.yml
* Update appveyor.yml
* Update appveyor.yml
* Update appveyor.yml
* Update appveyor.yml
* Update appveyor.yml
* Update appveyor.yml
* Update appveyor.yml
* sleep after restarting
* Update RemoteSshd.cs
* Fix tests
* Dispose ports
* Small improvements
* Fix build
* Small fixes
* Revert not related changes
* Test linux and windows
* fix
* test_script
* Use real commands
* Fixes
* fix?
* Add Appveyor TestLogger
* Fix linux tests
* Fix tests
* Try to fix tests
* Revert
* Give time before
* fix
* revert
* Give some time to process all messages after connect
* ForwardedPortDynamicTest_Stop_PortStarted_ChannelNotBound
* fix netsh
* trace
* Update appveyor.yml
* Update appveyor.yml
* etl2pcapng
* Update appveyor.yml
???
* Update appveyor.yml
* Update appveyor.yml
* Update appveyor.yml
* Update appveyor.yml
* come on !!
* Update appveyor.yml
* Fixes tests for linux
* Reverts
* Fix build
* Update TestMethodForPlatformAttribute.cs
* Update TestMethodForPlatformAttribute.cs
* Update appveyor.yml
* Issue #1253
* Install .NET SDK
* next try
* fix?
* try
* Finishing
* Fixes
* apt-get install dotnet-sdk-7.0
* Finish?
* Add environment APPVEYOR_BAKE_IMAGE
* Update test/Renci.SshNet.Tests/Classes/Connection/DirectConnectorTest_Connect_TimeoutConnectingToServer.cs
Co-authored-by: Rob Hague <rob.hague00@gmail.com >
* Fix review
* Fix
* Update appveyor.yml
* Update appveyor.yml
* Delete .runsettings
---------
Co-authored-by: Rob Hague <rob.hague00@gmail.com >
Co-authored-by: Robert Hague <rh@johnstreetcapital.com >
Co-authored-by: Scott Xu <scott-xu@msn.com >
2023-11-30 19:19:00 +01:00
Wojciech Nagórski
f1297dec75
Move test projects ( #1212 )
...
* Move test projects to test folder.
Move global.json to root of repo.
Update solution items in solution.
* Move test projects to test folder.
Move global.json to root of repo.
Update solution items in solution.
Update appveyor configuration/
* Attempt to have appveyor use the correct .NET SDK.
* Update .NET SDK to version 7.0.402.
* Move Data folder below Renci.SshNet.Tests.
* Make csinst less chatty.
* Move Data folder directly below test folder as it's used by multiple test projects.
* Remove CS1591 nowarn from concrete test projects as this is already defined in the Directory.Build.props that is in the test folder.
* Fix integration test after moving test projects
---------
Co-authored-by: drieseng <gert.driesen@telenet.be >
2023-10-14 22:16:11 +02:00