1# Protocol Buffer Conformance Testing
3## Running the conformance test
7From the top directory of this repo,
13### Running from output/
22conformance_test_runner --enforce_recommended bin/conformance-purescript
25### Running from bundled executable
31spago bundle --platform=node --minify --bundle-type app --outfile conformance.mjs
34conformance_test_runner --enforce_recommended ./conformance.mjs
37## About the conformance test runner
39[Conformance README](https://github.com/protocolbuffers/protobuf/tree/master/conformance)
41The derivations in `nix/protobuf.nix` will build `protoc` and the
42`conformance-test-runner`.
46To generate the conformance `.purs` in the dev environment:
49protoc --purescript_out=./conformance/src/generated --proto_path=$(nix path-info .#protobuf)/conformance $(nix path-info .#protobuf)/conformance/conformance.proto
52protoc --purescript_out=./conformance/src/generated --proto_path=$(nix path-info .#protobuf)/src $(nix path-info .#protobuf)/src/google/protobuf/test_messages_proto3.proto
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list