Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does ssisUnit allows testing ssis packages with custom connection managers and other components? #3

Open
janis-veinbergs opened this issue Jan 24, 2019 · 1 comment

Comments

@janis-veinbergs
Copy link

janis-veinbergs commented Jan 24, 2019

Hello @johnwelch

What if I use Kingswaysoft components that allows talking to web services easily. Can I somehow mock those connection managers and use ssisUnit to unit test those packages?

@johnwelch
Copy link
Owner

No, this isn't supported in ssisUnit.

The way that Connection Managers are implemented in SSIS makes mocking them very difficult. Tasks and Components can access the connection manager's inner object (the custom class) so you have to mock that. How possible that is depends on how the class was implemented, and how other objects interact with it. If it uses interfaces, and all interaction is via the interfaces, then it's doable. Not all connection managers are implemented in that way, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants