Skip to content

Commit 68f004a

Browse files
committed
docs: テスト実行方法をREADMEに追加
- テストの実行方法と特定ルールのテスト方法を明記
1 parent edd9949 commit 68f004a

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/copilot-instructions.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,16 @@ AIと人間の協力により、お互いの強みを活かした自然で読み
9191
テストはUnit Testのみで確認を行う
9292

9393
- `textlint-tester`を使用して、ルールのテストを行う
94-
- 実際にファイルを作成して、`textlint`コマンドを使ったテストは行わない
94+
- 実際にファイルを作成して、`textlint`コマンドを使ったテストは行わない
95+
96+
テストの実行方法
97+
98+
```bash
99+
npm run test
100+
```
101+
102+
特定のルールのみをテストする場合は、以下のように実行します。
103+
104+
```bash
105+
npm run test -- --grep no-repetitive-expressions
106+
```

0 commit comments

Comments
 (0)