Topic "Feature Request: Implement ISession so we can mock"

Author Message
ironside
[View user's profile]

Joined: 2012-04-06
Posts: 3
Most of the action with the .NET assembly is via the Session class.
It would be nice to have Session implement an interface (e.g. ISession?) representing the public methods to allow developers to easily mock out the library for unit testing.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Thanks for your suggestion.

This request has been added to the tracker:
https://winscp.net/tracker/show_bug.cgi?id=856
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License