protobuf-conformance
protobuf-conformance copied to clipboard
A repository running the Protobuf conformance tests against various libraries
Protobuf Conformance Tests
A repository which runs the protocol buffers conformance test suite against various implementations.
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
Results
Implementation | JavaScript | TypeScript | Standard Plugin |
Required tests | Recommended tests |
---|---|---|---|---|---|
Protobuf-ES | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | (0 failures) |
(0 failures) |
protobuf-ts | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | (2 failures) |
(1 failures) |
protoscript | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | (1084 failures) |
(529 failures) |
google-protobuf | :heavy_check_mark: | :x: | :heavy_check_mark: | (572 failures) |
(300 failures) |
protobuf.js | :heavy_check_mark: | :heavy_check_mark: | :x: | (523 failures) |
(169 failures) |
protoc-gen-ts | :x: | :heavy_check_mark: | :heavy_check_mark: | (1564 failures) |
(466 failures) |
ts-proto | :x: | :heavy_check_mark: | :heavy_check_mark: | (730 failures) |
(607 failures) |
Note: None of the libraries tested implement the text format so the results for those test runs are not shown.
Running the tests
To run the conformance tests, run make
from the repo root.
Note that only Linux and OSX operating systems are supported.