You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AgentMode/.github/copilot-instructions.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -236,7 +236,15 @@ and
236
236
- You **MUST** start all stored procedure names with the word `test`.
237
237
- You **MUST NOT** put a CREATE SCHEMA statement in the test .sql files. (this is because tSQLt already created the [UserStoryTests] schema for you)
238
238
239
-
### Step 12: User to check .sql files in ./Tests folder have all been saved
239
+
### Step 12: Ensure all User Stories are fully implemented as tSQLt tests.
240
+
241
+
**Thought:** The above step can create .sql files in the `./Tests` folder, that have NotYetImplemented in them.
242
+
243
+
**Action:**
244
+
- Ensure each User Story is fully implemented as a tSQLt test in a .sql file.
245
+
- Exhaustively check each line of each user story is full validated by a test.
246
+
247
+
### Step 13: Check .sql files in ./Tests folder have all been saved
240
248
241
249
**Thought:** The above step can take a long time to complete, and Agent-Mode runs
242
250
in parallel and asynchronously, so user needs to check that all the .sql files
@@ -246,13 +254,13 @@ and
246
254
- The user must check that all the test .sql files have been saved in the `./Tests` folder.
247
255
- If not, user must wait to proceed until all .sql files in the ./Tests folder have been saved by the agent.
248
256
249
-
### Step 13: Build and Publish the tSQLt User Story tests to SQL Server
257
+
### Step 14: Build and Publish the tSQLt User Story tests to SQL Server
250
258
251
259
**Action:**
252
260
- Build by running `Build.ps1` (which takes `-ProjectName` as the single parameter) and ensure no errors.
253
261
- Publish to the SQL Server using SqlPackage by running `Publish.ps1` (which takes `-ProjectName` as the single parameter) and ensure no errors.
254
262
255
-
### Step 14: Run user story tests until they all pass.
263
+
### Step 15: Run user story tests until they all pass.
256
264
257
265
**Action:**
258
266
- Run `Test.ps1` (which takes `-ProjectName` as the single parameter) to run all the tests in the [UserStoryTests] schema. `Test.ps1` is in the `./.github/tsql/inner-loop` folder.
0 commit comments