Interface EntitySetupInstruction

All Known Implementing Classes:
EntitySetupAdapter

public interface EntitySetupInstruction
Entity 資料準備指令介面。

提供 custom step 開發者插入測試資料的能力,不依賴 Cucumber DataTable。

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setup(String entityName, List<Map<String,String>> dataTable)
    準備測試資料(INSERT INTO)。
  • Method Details

    • setup

      void setup(String entityName, List<Map<String,String>> dataTable) throws Exception
      準備測試資料(INSERT INTO)。
      Parameters:
      entityName - entity 名稱
      dataTable - 欄位名稱 → 值的列表
      Throws:
      Exception