Skip to content
T

Tstyche

Everything You Need for Type Testing

by tstycheFree

#3346in Developer Tools
0In stores

Description

TSTyche is a testing tool for TypeScript types. Instead of checking runtime values, it checks what the compiler infers and whether a type ac…

Highlights

  • Type tests with describe(), test() and it()
  • Expect-style assertions on inferred types
  • Runner with .only, .skip and .todo modes
  • Reporters, configuration file and command line
  • Programmatic usage and type utilities

Ratings & Reviews

No ratings yet

Be the first to rate Tstyche.

People also visit

T

Testing Playground

Simple and complete DOM testing playground that encourage good testing practices

Developer Tools
Launch
E

Expect

Expect tests your agent's code in a real browser

Developer Tools
Launch
T

tdd

Introduces commands for test-driven development

AI Skills
Get
T

TestDriver

AI QA agent for comprehensive testing & debugging

Developer Tools
Launch
T

Test Automation University

Become a test automation superstar!

Developer Tools
Launch
V

Vitest Preview

Debug your Vitest tests. Effortlessly

Developer Tools
Launch

Tstyche FAQ

What does TSTyche test?

The types in your TypeScript code. It checks the inferred type of an expression and whether a type accepts certain uses.

What does a test look like?

You import expect and test from tstyche, then call a test block with assertions such as expect(...).type.toBe<boolean>().

Which assertions are there?

The expect style checks the inferred type of an expression or a type directly. Examples in the docs include toBe and toBeCallableWith, and not negates them.

Is it free?

Yes. It is open source, and the code is public on GitHub at tstyche/tstyche.

What are the best Tstyche alternatives?

Popular alternatives to Tstyche include Testing Playground, Expect and TestDriver. See all Tstyche alternatives

Developer Stuff

Badges