@Test
  public void testOptionMissingValue() {
    final Queue<String> opts = new LinkedList<>();
    opts.offer("--presplit");
    assertThrows(IllegalArgumentException.class, () -> PerformanceEvaluation.parseOpts(opts));
  }
Exercise the mr spec writing. Simple assertions to make sure it is basically working.
hbase-diagnostics/src/test/java/org/apache/hadoop/hbase/TestPerformanceEvaluation.java