Hi,
I created a unit test class following the instructions here https://academy.creatio.com/documents/technic-sdk/7-16/testing-tools-nunit for a custom class I created in Creatio.
However, in order to test I need to pass the UserConnection to my class. How do I logon and get the UserConnection from Terrasoft.Configuration.Tests?
Thanks in advance,
Jose
Like
2 comments
13:23 Jun 10, 2020
Hello,
You can find the tests examples here https://github.com/Advance-Technologies-Foundation/repository/blob/master/ATF.Repository.Tests/RepositoryWithUserConnectionTests.cs
It is also necessary to install nuget packages from here: https://www.nuget.org/packages/CreatioMock/
https://www.nuget.org/packages/CreatioTestFramework/
Regards,
Dean
Show all comments