A repository which runs the protocol buffers conformance test suite against various implementations.
The current implementations being tested are:
- Protobuf-ES: https://github.com/bufbuild/protobuf-es
- protobuf-ts: https://github.com/timostamm/protobuf-ts
- google-protobuf: https://github.com/protocolbuffers/protobuf-javascript
- protobuf.js: https://github.com/protobufjs/protobuf.js/
- protoc-gen-ts: https://github.com/thesayyn/protoc-gen-ts
- ts-proto: https://github.com/stephenh/ts-proto
- protoscript: https://github.com/TateThurston/protoscript
Implementation | JavaScript | TypeScript | Standard Plugin |
Required tests | Recommended tests |
---|---|---|---|---|---|
Protobuf-ES | ✔️ | ✔️ | ✔️ | (0 failures) |
(0 failures) |
protobuf-ts | ✔️ | ✔️ | ✔️ | (2 failures) |
(1 failures) |
protoscript | ✔️ | ✔️ | ✔️ | (1084 failures) |
(529 failures) |
google-protobuf | ✔️ | ❌ | ✔️ | (572 failures) |
(300 failures) |
protobuf.js | ✔️ | ✔️ | ❌ | (523 failures) |
(169 failures) |
protoc-gen-ts | ❌ | ✔️ | ✔️ | (1564 failures) |
(466 failures) |
ts-proto | ❌ | ✔️ | ✔️ | (736 failures) |
(607 failures) |
Note: None of the libraries tested implement the text format so the results for those test runs are not shown.
To run the conformance tests, run make
from the repo root.
Note that only Linux and OSX operating systems are supported.