diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2017-03-27 12:03:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-27 12:03:09 -0700 |
commit | c565e25c7d5f2265b103d78b3796bb8822d6c1b5 (patch) | |
tree | 5deafe0ddfc42660f0ea0f965cbb7ced2b01f8b7 /conformance/README.md | |
parent | 7610f101e89f72357646aad0f9c5e8025de8cb84 (diff) | |
parent | 1b0db1cb83f09794632e8c24a1d0d1f0ca5b2365 (diff) | |
download | protobuf-c565e25c7d5f2265b103d78b3796bb8822d6c1b5.tar.gz protobuf-c565e25c7d5f2265b103d78b3796bb8822d6c1b5.tar.bz2 protobuf-c565e25c7d5f2265b103d78b3796bb8822d6c1b5.zip |
Merge pull request #1662 from haberman/jsconformance
Conformance tests for JavaScript (Node.js). 15 tests are failing.
Diffstat (limited to 'conformance/README.md')
-rw-r--r-- | conformance/README.md | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/conformance/README.md b/conformance/README.md index 9388055f..971fe8f6 100644 --- a/conformance/README.md +++ b/conformance/README.md @@ -19,11 +19,39 @@ directory to build `protoc`, since all the tests depend on it. $ make -Then to run the tests against the C++ implementation, run: +Running the tests for C++ +------------------------- + +To run the tests against the C++ implementation, run: $ cd conformance && make test_cpp -More tests and languages will be added soon! +Running the tests for JavaScript (Node.js) +------------------------------------------ + +To run the JavaScript tests against Node.js, make sure you have "node" +on your path and then run: + + $ cd conformance && make test_nodejs + +Running the tests for Ruby (MRI) +-------------------------------- + +To run the Ruby tests against MRI, first build the C extension: + + $ cd ruby && rake + +Then run the tests like so: + + $ cd conformance && make test_ruby + +Running the tests for other languages +------------------------------------- + +Most of the languages in the Protobuf source tree are set up to run +conformance tests. However some of them are more tricky to set up +properly. See `tests.sh` in the base of the repository to see how +Travis runs the tests. Testing other Protocol Buffer implementations --------------------------------------------- |