Merge remote-tracking branch 'upstream/master' into init_auto
[nit.git] / src / model / model_base.nit
index 0c136b8..0a0d8b0 100644 (file)
@@ -103,6 +103,11 @@ abstract class MEntity
        # Fictive entities are used internally but they should not be
        # exposed to the final user.
        var is_fictive: Bool = false is writable
+
+       # Is `self` created for unit testing purpose?
+       #
+       # See `nitunit`.
+       var is_test: Bool = false is writable
 end
 
 # Something that represents a concern