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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]