The JADE 2022 release meets tomorrow’s business demands.
The original idea can be removed as the functionality can be implemented using process.createTransientClass(..). However can this undocumented method be made part of the official release?
If I've understood your question correctly, you don't want the overhead of creating mock subclasses?
If so you might find some ideas in the link below, but in short, create the mock class transiently using process.createTransientClass(..) ).
Warning: this function is likely to be unpublished, so if you come to rely on it you'd need to discuss with Jade to see it published.
https://github.com/jadelab/AutomatedTestSchema/wiki/Test-Doubles
You won't be notified about changes to this idea.
If I've understood your question correctly, you don't want the overhead of creating mock subclasses?
If so you might find some ideas in the link below, but in short, create the mock class transiently using process.createTransientClass(..) ).
Warning: this function is likely to be unpublished, so if you come to rely on it you'd need to discuss with Jade to see it published.
https://github.com/jadelab/AutomatedTestSchema/wiki/Test-Doubles