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
@@ -239,7 +239,15 @@ and
239
239
- You **MUST** start all stored procedure names with the word `test`.
240
240
- You **MUST NOT** put a CREATE SCHEMA statement in the test .sql files. (this is because tSQLt already created the [UserStoryTests] schema for you)
241
241
242
-
### Step 12: User to check .sql files in ./Tests folder have all been saved
242
+
### Step 12: Ensure all User Stories are fully implemented as tSQLt tests.
243
+
244
+
**Thought:** The above step can create .sql files in the `./Tests` folder, that have NotYetImplemented in them.
245
+
246
+
**Action:**
247
+
- Ensure each User Story is fully implemented as a tSQLt test in a .sql file.
248
+
- Exhaustively check each line of each user story is full validated by a test.
249
+
250
+
### Step 13: Check .sql files in ./Tests folder have all been saved
243
251
244
252
**Thought:** The above step can take a long time to complete, and Agent-Mode runs
245
253
in parallel and asynchronously, so user needs to check that all the .sql files
@@ -249,13 +257,13 @@ and
249
257
- The user must check that all the test .sql files have been saved in the `./Tests` folder.
250
258
- If not, user must wait to proceed until all .sql files in the ./Tests folder have been saved by the agent.
251
259
252
-
### Step 13: Build and Publish the tSQLt User Story tests to SQL Server
260
+
### Step 14: Build and Publish the tSQLt User Story tests to SQL Server
253
261
254
262
**Action:**
255
263
- Build by running `Build.ps1` (which takes `-ProjectName` as the single parameter) and ensure no errors.
256
264
- Publish to the SQL Server using SqlPackage by running `Publish.ps1` (which takes `-ProjectName` as the single parameter) and ensure no errors.
257
265
258
-
### Step 14: Run user story tests until they all pass.
266
+
### Step 15: Run user story tests until they all pass.
259
267
260
268
**Action:**
261
269
- 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