Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-11525

Add support for jobs to BlackBoxTests

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Severity: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Job
    • Labels:
      None
    • Story Points:
      5
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.

      Description

      For PDI integration testing, we have a JUnit test called BlackBoxTests which will locate any transformations in the specified folder and execute them as integration-level tests. However jobs are not currently supported.

      As jobs often will call transformations, any such transformations will have to be named appropriately so as not to run as part of the BlackBoxTests logic to execute test transformations. Currently this can be done by adding "-tmp" to the end of the name before the .ktr extension. We might want to look at another way (or another delimiter) for this.

      Also jobs may not have expected results besides Pass/Fail (aka True/False), so BlackBoxTests could be improved in such a way that only the job's final result is checked for success/failure. This would allow any expected values to be checked inside the job or called transformations, rather than in code, leading to more encapsulated tests independent of code scaffolding.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            mburgess Matt Burgess (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: