JADE Environment Development Ideas

What's new in the JADE 2025 release?

IMPROVED DEVELOPER EFFICIENCY. ENHANCED INTEGRATIONS. NEW WEB DEVELOPMENT FRAMEWORK

The Jade 2025 release focuses on modernising the developer experience and helping you build faster, smarter, and more scalable applications.


Start your update to JADE's latest release

Mock methods using transients.

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?

  • Guest
  • Dec 18 2019
  • Closed
  • Attach files
  • Admin
    Patrick Pritchard commented
    18 Nov 03:40

    Closng this one. We now have the Jade Mocking Framework. For details, see the Mocking framework documentation under the Jade‑Mocking link at https://github.com/jadesoftwarenz.

  • John Beaufoy commented
    December 19, 2019 05:54

    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