Forum Discussion
To expand on Bobik , generally speaking, running Unit tests via TestComplete is simply provided to give you a central execution point for your tests rather than having unit tests run in one tool and functional in another. So, all that is supported is generally a way of executing. Passing variables back and forth between the unit test and TestComplete automation will have to be done via some other vehicle, either via file, registry key, data table, etc.
You can get access to TestComplete Project variables and ProjectSuite variables from NUnit tests in C# (Visual Studio). You will need to instantiate the TestComplete Automation Server in C#, open the project and make changes to the variable object in the project using COM automation.
Cheers
Lino