StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Product

  • Stacks
  • Tools
  • Companies
  • Feed

Company

  • About
  • Blog
  • Contact

Legal

  • Privacy Policy
  • Terms of Service

© 2025 StackShare. All rights reserved.

API StatusChangelog
ts-mockito
Byts-mockitots-mockito

ts-mockito

#89in Testing Frameworks
Stacks19Discussions2
Followers1
OverviewDiscussions2

What is ts-mockito?

It is a mocking library for TypeScript inspired by Mockito. It is strongly typed, can capture arguments passed to a method, and recording multiple behaviors.

ts-mockito is a tool in the Testing Frameworks category of a tech stack.

Key Features

Strongly typedIDE autocompleteMock creation (mock) (also abstract classes)Spying on real objects (spy)Changing mock behavior (when)Checking if methods were called with given arguments (verify)Resetting mock (reset, resetCalls)Capturing arguments passed to method (capture)Recording multiple behaviorsReadable error messages

ts-mockito Pros & Cons

Pros of ts-mockito

No pros listed yet.

Cons of ts-mockito

No cons listed yet.

ts-mockito Alternatives & Comparisons

What are some alternatives to ts-mockito?

JUnit

JUnit

JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.

RSpec

RSpec

Behaviour Driven Development for Ruby. Making TDD Productive and Fun.

PHPUnit

PHPUnit

PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.

pytest

pytest

A framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries. It is a mature full-featured Python testing tool.

Mockito

Mockito

It is a mocking framework that tastes really good. It lets you write beautiful tests with a clean & simple API. It doesn’t give you hangover because the tests are very readable and they produce clean verification errors.

Cucumber

Cucumber

Cucumber is a tool that supports Behaviour-Driven Development (BDD) - a software development process that aims to enhance software quality and reduce maintenance costs.

ts-mockito Integrations

TypeScript are some of the popular tools that integrate with ts-mockito. Here's a list of all 1 tools that integrate with ts-mockito.

TypeScript
TypeScript

Try It

Visit Website

Adoption

On StackShare

Companies
0
Developers
6
HJSIR2