GitXplorerGitXplorer
b

gcr

public
27 stars
23 forks
3 issues

Commits

List of commits on branch master.
Verified
071549df2bc4c430d76da704f6bf75cbd01652ec

Merge pull request #6 from carsol/master

mmastahyeti committed 6 years ago
Verified
7a71ff8f22a5b72de982f0260e2af65d3b9bffbb

Merge pull request #2 from carsol/emit_defaults-request

ccarsol committed 6 years ago
Verified
abd7c95625882d1e5d880555a8e774ab22fad159

Also emit_defaults for Requests

ccarsol committed 6 years ago
Verified
cb310032599f7b5b33961838e3e6393a3c3eede0

bump version to 1.0.2

bbtoews committed 6 years ago
Verified
1228f2d0e737744998b123e9d89ba70de71c83db

Merge pull request #5 from carsol/cs/emit_defaults

mmastahyeti committed 6 years ago
Verified
cdccdf16e7ce0e697573dc6a5ff89fddfc7d1d31

run script/compile-fixture-proto

bbtoews committed 6 years ago

README

The README file for this repository.

GCR

A VCR-like test helper for GRPC clients.

Example

# in some test initializer
GCR.cassette_dir = Rails.root.join("test/fixtures/my_grpc_service")
GCR.stub = MyGRPCServer.stub
# in your test code
test "MyController#index works" do
  GCR.with_cassette("some cassette name") do
    MyGRPCServer.do_something
  end
end

Tests

To run tests:

bundle exec rake