/protobuf-conformance

A repository running the Protobuf conformance tests against various libraries

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Protobuf Conformance Tests

A repository which runs the protocol buffers conformance test suite against various implementations.

Implementations

The current implementations being tested are:

Results

Implementation JavaScript TypeScript Standard
Plugin
Required tests Recommended tests
Protobuf-ES ✔️ ✔️ ✔️
(0 failures)

(1 failures)
protobuf-ts ✔️ ✔️ ✔️
(6 failures)

(5 failures)
protoscript ✔️ ✔️ ✔️
(934 failures)

(487 failures)
google-protobuf ✔️ ✔️
(387 failures)

(216 failures)
protobuf.js ✔️ ✔️
(928 failures)

(471 failures)
protoc-gen-ts ✔️ ✔️
(1085 failures)

(369 failures)
ts-proto ✔️ ✔️
(848 failures)

(528 failures)

Note: None of the libraries tested implement the text format so the results for those test runs are not shown.

Running the tests

First, verify that Bazel is installed. Using Bazelisk is recommended.

To run the conformance tests, run make from the repo root.

Troubleshooting

If you are on Apple M1 and see the error symbol not found in flat namespace (_CFRelease) when building protoc, you may need to install XCode from the Apple App Store.