Unplanned
Last Updated: 16 May 2024 09:48 by ADMIN
Yosi
Created on: 26 Jun 2023 09:39
Type: Feature Request
1
Mocked Struct is being changed by other tests

Hi.

i saw this: https://www.telerik.com/forums/how-can-i-mock-multiple-instances-of-a-struct

but still dont understand why JustMock works that way in the first place. why does it union struct mocks by value?

the above solution is only possible when i mock a struct i can change (and then add the id to it) but what about struct's from the framework that i cannot control? Is there a way to tell JustMock not to union mock structs?

Thanks,

Yosi

4 comments
ADMIN
Ivo
Posted on: 16 May 2024 09:48

Hello Yosi,

The status is changed due to to items grooming activities in the feedback portal, it means that it would be considered for investigation with low priority, nothing more concrete at the moment.

Regards,
Ivo
Progress Telerik

A brand new ThemeBuilder course was just added to the Virtual Classroom. The training course was designed to help you get started with ThemeBuilder for styling Telerik and Kendo UI components for your applications. You can check it out at https://learn.telerik.com
Yosi
Posted on: 16 May 2024 09:42

I see it changed to Unplanned.

is there any other solution we can use for that?

Yosi
Posted on: 26 Jun 2023 10:30
Thanks
ADMIN
Ivo
Posted on: 26 Jun 2023 10:20

Hello Yosi,

I am afraid that the desired functionality is not supported out of the box. Of course, we can consider it for future enhancements, so I am converting this inquiry to a feature request in our Feedback portal. Depending on the outcome of the initial research we will decide whether and when it would be released to the public. Many thanks for your cooperation!

Regards,
Ivo
Progress Telerik

A brand new JustMock course was just added to the Virtual Classroom - the free self-paced technical training portal that gets you up to speed with Telerik and Kendo UI products! Check it out at https://learn.telerik.com.