• Chris Fallin's avatar
    Two tests for Ruby code generator: · 3f3820d8
    Chris Fallin authored
    - 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.
    3f3820d8
generated_code_test.rb 586 Bytes