Skip to content

Commit e8e5cc0

Browse files
Create copilot-instructions.md
1 parent 4990bd9 commit e8e5cc0

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/copilot-instructions.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
* Read the contents of CONTRIBUTING.md, it has instructions on how to run a single test, handling baselines, etc
2+
* Run `hereby lint` and `hereby format` before you're done
3+
* Only add testcases in `test/cases/compiler` or `tests/cases/fourslash`. Do not write direct unit tests.
4+
* Running a set of tests make take up to 4 minutes
5+
* A full test run make take up to 15 minutes
6+
* Maintainer comments in the issue should generally take priority over OP's comments
7+
* Maintainers might give you hints on where to start. They are not always right, but a good place to start
8+
9+
Your workflow should be:
10+
* Make a testcase that demonstrates the behavior. Run it (by itself) and review the baselines it generates to ensure it demonstrates the bug. Add the test its baselines in one commit
11+
* Fix the bug by changing code as appropriate. Put this fix in another commit
12+
* Run the test you wrote again and ensure the baselines change in a way that demonstrates that the bug is fixed. Put this baseline diff in its own commit
13+
* Run all other tests to ensure you didn't break anything. Some collateral baseline changes are normal, put these diffs in another commit

0 commit comments

Comments
 (0)