Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Go to top

Parts of a Test Class

...

Annotations

Annotations may be placed at the file, class or method levels.  Annotations begin with the '@' symbol.  Here is an example.

...

The test method sets apart a single 'test.'  A test class may have any number of test methods. 

Include Page
_Test_Method_Example
_Test_Method_Example

The ETLUnit Test Class

Some common test operations are:

  • stage()
  • execute()
  • assert()
  • set()

Include Page
_Test_Operations_Example
_Test_Operations_Example

Comments

There are two ways to include comments in an ETLUnit test class file.

Include Page
_Comment_Lines_Example
_Comment_Lines_Example

Dig deeper

Child pages (Children Display)

Go to top