JoshuaKGoldberg / JoshuaKGoldberg/TypeStat

🧪 Tests: Add end-to-end tests?

Open
#1,506 2 comments 1 reaction 0 assignees View on GitHub
area: documentation area: testing status: blocked
Dominant language
TypeScript
Stars
2.3k
Forks
47
Avg merge
15h 55m
Merged PRs (30d)
21

Description

## Overview

There've been a bunch of (excellent) issues filed by @rubiesonthesky (e.g. #1498) as a result of running TypeStat on this repo. Which indicates there's not enough test coverage to exercise TypeStat on larger repos such as itself.

Proposal: how about adding some end-to-end tests that truly run TypeStat -not just the existing "mutation" (integration-style) tests- on full repositories?
* TypeStat itself?
* A few small example repos of various styles (JS, mixed-JS-TS, TS)
* Perhaps as a followup: cloning known good repos at particular commits and running on them?

This would come after #1476.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.