The BigtableEmulatorRule manages the lifecycle of the Bigtable Emulator. Before the start
of a test, the emulator will be started on a random port and will be shutdown after the test
finishes.
Example usage:
{@literal @RunWith(JUnit4.class)}
public class MyTest {
{@literal @Rule}
public final BigtableEmulatorRule bigtableEmulator = BigtableEmulatorRule.create();
{@literal @Test}
public void testUsingEmulator() {
ManagedChannel adminChannel = bigtableEmulator.getAdminChannel();
// Do something with channel
}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-02 UTC."],[],[]]