Browse Source

update DEVELOPING.md

tags/v2.9.0-rc1
Shivaram Lingamneni 2 years ago
parent
commit
8995dd8842
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      DEVELOPING.md

+ 12
- 0
DEVELOPING.md View File

23
 Long-running feature branches that aren't ready for merge into `master` may be maintained under a `devel+` prefix, e.g. `devel+metadata` for a feature branch implementing the IRCv3 METADATA extension.
23
 Long-running feature branches that aren't ready for merge into `master` may be maintained under a `devel+` prefix, e.g. `devel+metadata` for a feature branch implementing the IRCv3 METADATA extension.
24
 
24
 
25
 
25
 
26
+## Workflow
27
+
28
+We have two test suites:
29
+
30
+1. `make test`, which runs some relatively shallow unit tests, checks `go vet`, and does some other internal consistency checks
31
+1. `make irctest`, which runs the [irctest](https://github.com/ProgVal/irctest) integration test suite
32
+
33
+Barring special circumstances, both must pass for a PR to be accepted. irctest will test the `ergo` binary visible on `$PATH`; make sure your development version is the one being tested. (If you have `~/go/bin` on your `$PATH`, a successful `make install` will accomplish this.)
34
+
35
+The project style is [gofmt](https://go.dev/blog/gofmt); it is enforced by `make test`. You can fix any style issues automatically by running `make gofmt`.
36
+
37
+
26
 ## Updating dependencies
38
 ## Updating dependencies
27
 
39
 
28
 Ergo vendors all dependencies using `go mod vendor`. To update a dependency, or add a new one:
40
 Ergo vendors all dependencies using `go mod vendor`. To update a dependency, or add a new one:

Loading…
Cancel
Save