Official Content

Indicates whether to generate GeneXus source-level code to allow mock testing on objects.

Values

No
Yes

Scope

Generators: .NET, Java
Level: Environment

Description

This property is useful for implementing a mocking system that allows associating mock objects at runtime for Procedures and Data Providers.

The functionality enabled by this property is described in detail in Object Mock Testing.

Note: It is recommended to avoid enabling Mock objects in production environments to preserve the stability and security of the system.

Runtime/Design time

This property applies only at design time.

How to apply changes

To apply the corresponding changes when the property value is configured, execute a Rebuild All.

Availability

This property is available since GeneXus 18 Upgrade 8.

See Also

Generate Code Coverage information property

Last update: April 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant