Class ScriptableDataSetTest

java.lang.Object
de.gmorling.scriptabledataset.ScriptableDataSetTest

public class ScriptableDataSetTest extends Object
Test for ScriptableDataSet.
Author:
Gunnar Morling
  • Constructor Details

    • ScriptableDataSetTest

      public ScriptableDataSetTest()
  • Method Details

    • initializeConnection

      @BeforeAll public static void initializeConnection() throws Exception
      Throws:
      Exception
    • createTable

      @BeforeEach public void createTable() throws Exception
      Throws:
      Exception
    • rollbackTransaction

      @AfterEach public void rollbackTransaction() throws Exception
      Throws:
      Exception
    • closeConnection

      @AfterAll public static void closeConnection() throws Exception
      Throws:
      Exception
    • jRubyScript

      @Test public void jRubyScript() throws Exception
      Test for using JRuby as scripting language.
      Throws:
      Exception - In case of any error.
    • groovyScript

      @Test public void groovyScript() throws Exception
      Test for using Groovy as scripting language.
      Throws:
      Exception - In case of any error.
    • dataSetWithMultipleLanguages

      @Test public void dataSetWithMultipleLanguages() throws Exception
      Test for using JRuby and Groovy within one data set file.
      Throws:
      Exception - In case of any error.
    • customHandler

      @Test public void customHandler() throws Exception
      Test for using JRuby as scripting language in conjunction with a special invocation handler.
      Throws:
      Exception - In case of any error.
    • unknownScriptingEngine

      @Test public void unknownScriptingEngine() throws Exception
      Test for usage of an unknown scripting engine.
      Throws:
      Exception - In case of any error.