During Filter

Top  Previous  Next

With the Enterprise Edition, you can restrict fakes to apply only during specific runtime conditions.

 

For example:

·Only when invoked from a given module.
·Only on a specific thread.
·Only when called via a global function.
·Or when a custom lambda matches.

 

This feature makes your tests precise and avoids unintended fake activation.

 

See more in Limiting Fakes with During Filters.


Copyright  Typemock Ltd. 2009-2025.  All Rights Reserved.