Feature: add protocol test

This commit is contained in:
Dreamacro
2021-05-17 20:33:00 +08:00
parent 06fdd3abe0
commit d5e52bed43
26 changed files with 2299 additions and 0 deletions

49
test/README.md Normal file
View File

@ -0,0 +1,49 @@
## Clash testing suit
### Protocol testing suit
* TCP pingpong test
* UDP pingpong test
* TCP large data test
* UDP large data test
### Protocols
- [x] Shadowsocks
- [x] Normal
- [x] ObfsHTTP
- [x] ObfsTLS
- [x] ObfsV2rayPlugin
- [x] Vmess
- [x] Normal
- [x] AEAD
- [x] HTTP
- [x] HTTP2
- [x] TLS
- [x] Websocket
- [x] Websocket TLS
- [x] gRPC
- [x] Trojan
- [x] Normal
- [x] gRPC
- [x] Snell
- [x] Normal
- [x] ObfsHTTP
- [x] ObfsTLS
### Features
- [ ] DNS
- [x] DNS Server
- [x] FakeIP
- [x] Host
### Command
Prerequisite
* docker (support Linux and macOS)
```
$ go test -p 1 -v
```