Skip to content

Commit 0a05e0a

Browse files
committed
Add Copilot instructions
1 parent 6fb4b7d commit 0a05e0a

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/copilot-instructions.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
We strongly prefer that Go tests are written in a way that they can be run with `go test` without any additional setup. This means that tests should not require any external files or resources, and should be self-contained.
2+
3+
Adher to the specification by running the following command to test the implementation against the Cooklang specification:
4+
5+
```shell
6+
task test-spec
7+
```
8+
9+
```shell
10+
task test # Run all tests
11+
go test -v ./... # Run all tests with verbose output
12+
```
13+
14+
We are using a [taskfile](../Taskfile.yaml) as a makefile replacement to execute tests.

0 commit comments

Comments
 (0)