Jump to content
Sign in to follow this  

unsuccessful factory override

Recommended Posts


I want to share with you a factory override issue I'm currently dealing with.

I have a class (we can call it class_a), that I'm overriding, with class_a_ovrd, which extends class_a.

for that, I'm using the following command, the build function of the test, before the env is being created:


after that, I can see that the override is being performed only for the build function of class_a_ovrd,  i.e. only the build function of class_a_ovrd replaces  the build function of class_a, 

but all the other functions still being taken from the original class, class_a.

can you say how such thing can happen?




Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...