FauxRPC is a handy tool that lets you quickly spin up a fake server that mimics a real gRPC server. This is super useful for testing and development when you don’t have the actual backend service ready yet, or when you want to isolate your application from the real backend for focused testing.
Inputs
FauxRPC allows you to easily mock gRPC servers using various inputs like Protobuf files, live gRPC servers, or Buf Schema Registry images. This makes it simple to test gRPC interactions without a real backend. See more on the Inputs page.
Multiprotocol Support
FauxRPC lets you easily create fake gRPC, gRPC-Web, Connect, and REST servers from different sources like Protobuf files, live gRPC servers, or Buf Schema Registry images. This allows you to test and develop your applications without needing a real backend. You can use tools like buf curl or grpcurl to interact with the fake server. See details on the Multi-protocol Support page.
Dynamic Reconfiguration
FauxRPC allows you to send it protobuf descriptors and it will mimic the services contained within those descriptors. This allows you to set up fairly complex scenarios dynamically. This is all powered by an incredibly simple gRPC service and easy to use with FauxRPC with the CLI.
See the documentation on fauxrpc registry and fauxrpc stubs for more.