Skip to content

2.2.0

Choose a tag to compare

@nikolainobadi nikolainobadi released this 06 Dec 01:53
· 13 commits to main since this release

2.2.0 Release Notes

Summary

This release enables subclassing of MockShell, allowing developers to create custom test mock implementations for advanced testing scenarios.

What's Changed

Enhanced Testing Flexibility

  • MockShell is now subclassable: The MockShell class has been changed from public to open, enabling developers to create custom subclasses
  • Internal methods accessible: Strategy and helper methods are now internal instead of private, allowing subclasses to override behavior and access internal state

Use Cases

This change enables:

  • Custom mock implementations with specialized behavior
  • Extended test utilities built on MockShell
  • Advanced testing patterns requiring custom command handling logic