Files
retrossl/docs/testing.md
T
Claude d979bbe7d6 docs: make the README a short landing page
Move the API details, the feature table, the tests and the origin of the
code into topic files in docs/. Keep the protocol list, the security
warning and a short example in the README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSvurgAXJHmd8Fs4ud
2026-11-23 13:45:43 +00:00

18 lines
696 B
Markdown

# Testing
`make test` runs gofmt, vet, then `go test -race ./...`. The tests use
these clients:
- The TLS client of Go, at TLS 1.0.
- In-test clients for SSL 3.0 and TLS 1.0 (the two hello formats, all
suites).
- An in-test client for SSL 2.0 (all ciphers).
The tests include resumption, renegotiation, compression and client
certificates. The tests check IDEA against its published test vector,
RC2 against OpenSSL, and the decompressor against records that zlib
compressed. The in-test clients follow the specifications. But they use
the same record code as the package. Thus it is still useful to test
with real old clients. `make cover` writes the coverage of the tests to
`cover.html`.