Versions Compared

Key

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

...

Before the class declaration.

CLI Command Syntax

  • Enclose the name of the test suite you are running with square brackets.
  • e.g., test [myTestSuite]

Examples

Test class #1 has some @JoinSuite annotations.

...

Section
Column
width25px

 

Column
width500px
Panel
bgColor#E0E6F8
titleColor#0B0B61
titleBGColor#CED8F6
title@JoinSuite Example 2

@JoinSuite(name:'bucket_v2')

@JoinSuite(name:'stg')

@Database(id: 'qpt_pet', modes: ['tgt', 'src'])

class stg_post_process

{

@Test

bkt_subheader_stg_bucket_valid()

{

...

Column

 

When test suite 'aud' is run from the command line, only one test class is run, because only one test class is annotated for the 'aud' suite.

Section
Column
width25px

 

Column
width750px
Code Block
languagetext
themeRDark
titleRun test suite 'aud'
userme > te [aud]
Processing [3] tests
class [default].bucket_subheader_aud   -------------------------------------------
1/3        .run_test
  Passed                                                                      P[1]
2/3        .columnsLoadInOrder
  Passed                                                                      P[2]
3/3        .DeleteSQLTest
  Passed                                                                      P[3]
Tests run: 3, Successes: 3, Time elapsed: 42.289 sec
Column

 

...