Wolfram Language Paclet Repository (Under Development)

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • External Interfaces & Connections
    • Geographic Data & Computation
    • Graphs & Networks
    • Images
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Sound & Video
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
    • Using Paclets
    • Creating Paclets
    • New Definition Notebook
    • Random Paclet
    • Alphabetical List

Mockingbird

Guides

  • Mockingbird

Symbols

  • MockDefinitionGroup
  • MockDefinition
  • MockEvaluate
  • MockEvaluateReap
  • MockPropertyValuePatternTest
  • MockPropertyValueQ
  • MockSow

Tutorials

  • WritingMockTestsWithMockingbird
Mockingbird
The Mockingbird package provides utilities for storing definitions in an unevaluated form and installing them temporarily in a localized manner. This is particularly useful for writing software tests involving "mocked" or "stubbed" versions of built-in or custom functions, but can also be used more generally in a variety of development and debugging scenarios.
MockDefinition
— represents a single "mock" definition
MockDefinitionGroup
— represents a group of mock definitions
MockEvaluate
— evaluate an expression after locally installing one or more mock definitions
MockEvaluateReap
— evaluate while catching intermediate expressions sown with
MockSow
MockSow
— sow an expression to be caught by
MockEvaluateReap
MockPropertyValueQ
 ▪
MockPropertyValuePatternTest
Tutorials
▪
Writing Mock Tests with Mockingbird

Powered by the Wolfram Cloud More about Wolfram Technology

© 2022 Wolfram Research, Inc. All rights reserved. Terms of Use Privacy Contact Us