Giter Site home page Giter Site logo

kettle-qa's Introduction

kettle-qa

Uses kettle's new unit test plugin to build a golden expectation set of input and output from kettle steps and jobs.

Explicit Dependencies:

  1. pentaho-pdi-dataset v3.4.3 - https://github.com/mattcasters/pentaho-pdi-dataset/releases
  2. kettle-environment v1.6.0 - https://github.com/mattcasters/kettle-environment/releases
  3. kettle-needful-things v0.7.0 - https://github.com/mattcasters/kettle-needful-things/releases

The plugins and more come with nightly builds of 8.2.0.1 - PDI remix which can be downloaded below.

With all plugins https://s3.amazonaws.com/kettle-neo4j/kettle-neo4j-remix-8.2.0.1-REMIX.zip

With beam https://s3.amazonaws.com/kettle-neo4j/kettle-neo4j-beam-remix-8.2.0.1-REMIX.zip

To get up and running:

kettle-qa had one directory for keeping 'groups of groups' of unit tests together kettle-sq\unitTests

Within unitTests there are folders registeredDefects (JIRA based cases) and diethardSteinerSample.

The first order of business is to update the file path in the JSON file that represents a Kettle Environment to import.

For example see

kettle-qa/unitTests/registeredDefects$ cat registereddefects.json 
{
  "name" : "registeredDefects",
  "environmentHomeFolder" : "/home/bjackson/src/usbrandon/kettle-qa/unitTests/registeredDefects",
  "metaStoreBaseFolder" : "${ENVIRONMENT_HOME}",
  "unitTestsBasePath" : "${ENVIRONMENT_HOME}",
  "dataSetsCsvFolder" : "${ENVIRONMENT_HOME}/unit-test-datasets",
  "enforcingExecutionInHome" : true,
  "autoSavingSpoonSession" : true,
  "autoRestoringSpoonSession" : true

The environmentHomeFolder would need to be updated to a path on your machine where the tests exist.

Then you need to either import the environment using maitre.sh --import-environment and specify the name of the environment and file.

Having done that, when you load spoon.sh and select the newly imported environment you should have access to all the tests and they should be runnable individually.

kettle-qa's People

Contributors

usbrandon avatar

Watchers

Bart Maertens avatar  avatar Matt Casters avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.