Exemple #1
0
 ),
 # Basic count listing
 (
     listing.CountLister(),
     filtering.Filter(),
     ordering.NoopSorter(),
     to_stdout(
         "Primary: (2 suites, 6 testcases)",
         "Secondary: (1 suite, 3 testcases)",
     ),
 ),
 # Custom sort & name listing
 (
     listing.ExpandedNameLister(),
     filtering.Filter(),
     ordering.AlphanumericSorter(),
     to_stdout(
         "Primary",
         "  Alpha",
         "    test_a",
         "    test_b",
         "    test_c",
         "  Beta",
         "    test_a",
         "    test_b",
         "    test_c",
         "Secondary",
         "  Gamma",
         "    test_a",
         "    test_b",
         "    test_c",
Exemple #2
0
     filtering.Filter(),
     ordering.NoopSorter(),
     DEFAULT_NAME_OUTPUT,
 ),
 # Basic pattern listing
 (listing.ExpandedPatternLister(), filtering.Filter(),
  ordering.NoopSorter(), DEFAULT_PATTERN_OUTPUT),
 # Basic count listing
 (listing.CountLister(), filtering.Filter(), ordering.NoopSorter(),
  to_stdout(
      'Primary: (2 suites, 6 testcases)',
      'Secondary: (1 suite, 3 testcases)',
  )),
 # Custom sort & name listing
 (listing.ExpandedNameLister(), filtering.Filter(),
  ordering.AlphanumericSorter(),
  to_stdout(
      'Primary',
      '  Alpha',
      '    test_a',
      '    test_b',
      '    test_c',
      '  Beta',
      '    test_a',
      '    test_b',
      '    test_c',
      'Secondary',
      '  Gamma',
      '    test_a',
      '    test_b',
      '    test_c',