During my UnitTest, I create data that needs to be referenced in future UnitTests. For instance:
[TestMethod] public void CreateOrder() { Order order = new Order(); int orderNumber = order.Create();
I need to save "orderNumber" so that another UnitTest (possibly another agent) can use this generated order. I decided that I could use the database, but then I should manage it, as a turn in deleting elements, and would prefer not to go along this route.
Is there a way to return "orderNumber" to LoadTest and pass this as the Context parameter when calling another UnitTest?
source share