Skip to content

Extract tscInput tests to individual per-scenario files with imperative edits to improve debuggability#3996

Open
weswigham wants to merge 1 commit into
microsoft:mainfrom
weswigham:tsc-tests-extracted
Open

Extract tscInput tests to individual per-scenario files with imperative edits to improve debuggability#3996
weswigham wants to merge 1 commit into
microsoft:mainfrom
weswigham:tsc-tests-extracted

Conversation

@weswigham
Copy link
Copy Markdown
Member

And also remove some intra-test parallelism. The tests are parallel. The compilation in the test may be parallel. The assertions within the test do not need to be parallel. It's just extra indirection to try and step/break into.

The original tests technically still exist if you prefer writing/debugging those (for some reason), so the tests are run twice (and the logic generating the new test formulation is still hooked into the old style tests to continuously emit a copy into the new style), but this formulation is leagues easier to step into/through what individual edits are actually doing by eliminating the whole "test generation" part of tests.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

@jakebailey
Copy link
Copy Markdown
Member

Not sure I like this, but at the very least I think the filenames shouldn't start with capital T

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants