aboutsummaryrefslogtreecommitdiff
path: root/ruby/tests/basic.rb
diff options
context:
space:
mode:
authorChris Fallin <cfallin@google.com>2015-01-14 15:44:46 -0800
committerChris Fallin <cfallin@google.com>2015-01-14 15:44:46 -0800
commit3f3820d8f8b5c0b67aadc25ad5a2e728b6a3fe79 (patch)
tree53afc636c0dfe600a05bc65531023886436b1af3 /ruby/tests/basic.rb
parent7c4bbf07a5eee1fd4f5c2d60be32b95c35b0ed1d (diff)
downloadprotobuf-3f3820d8f8b5c0b67aadc25ad5a2e728b6a3fe79.tar.gz
protobuf-3f3820d8f8b5c0b67aadc25ad5a2e728b6a3fe79.tar.bz2
protobuf-3f3820d8f8b5c0b67aadc25ad5a2e728b6a3fe79.zip
Two tests for Ruby code generator:
- A golden-file test that ensures protoc produces known-valid output. - A Ruby test that loads that golden file and ensures it actually works with the extension. This split strategy allows us to test end-to-end without needing to integrate the Ruby gem build system and the protoc build system. This is desirable because we do not want a gem build/install to depend on building protoc, and we do not want building protoc to depend on building and testing the gem.
Diffstat (limited to 'ruby/tests/basic.rb')
0 files changed, 0 insertions, 0 deletions