@Test public void testPage() { try { System.out.println(JsonUtil.toJson(testCaseDAO.getPage(1, 10))); } catch (IOException e) { e.printStackTrace(); } }
@Test public void findPageCaseByVersion() { try { System.out.println(JsonUtil.toJson(testCaseDAO.findPageCaseByVersion("1.0.1", 1, 10))); } catch (IOException e) { e.printStackTrace(); } }
@Test public void testFindTestCaseByVersion() throws Exception { List<TestCase> testCases = testCaseDAO.findTestCasesByVersion("1.0.1"); System.out.println(JsonUtil.toJson(testCases)); }