anchor.diff:       subgroup_all_testcases, skip_subgroup_all_testcases,
        subgroup_testcase, skip_subgroup_testcase,
        sub_skipped_by_top,
  -     testcase_in_multiple_groups].
  +     testcase_in_multiple_groups,
  +     order_of_tests_in_multiple_dirs,
  +     order_of_tests_in_multiple_suites,
  +     order_of_suites_in_multiple_dirs,
  +     order_of_groups_in_multiple_dirs,
  +     order_of_groups_in_multiple_suites
  +    ].
   
   %%--------------------------------------------------------------------
   %% TEST CASES
  
positive.code: 		{skip_cases,TestDir,groups_12_SUITE,[testcase_1b],"SKIPPED!"}],
  
      setup_and_execute(testcase_in_multiple_groups, TestSpec, Config).
  
  %%%-----------------------------------------------------------------
  %%% HELP FUNCTIONS
  
negative.code: events_to_check(Test, N) ->
      test_events(Test) ++ events_to_check(Test, N-1).
  
  
  test_events(order_of_tests_in_multiple_dirs) ->
      [{ct_test_support_eh,start_logging,{'DEF','RUNDIR'}},
       {ct_test_support_eh,tc_start,{groups_12_SUITE,testcase_1a}},
       {ct_test_support_eh,tc_done,
        {groups_12_SUITE,testcase_1a,
         {failed,{error,{test_case_failed,no_group_data}}}}},
       {ct_test_support_eh,tc_start,{groups_22_SUITE,testcase_1}},
       {ct_test_support_eh,tc_done,{groups_22_SUITE,testcase_1,ok}},
       {ct_test_support_eh,tc_start,{groups_12_SUITE,testcase_1b}},
       {ct_test_support_eh,tc_done,
        {groups_12_SUITE,testcase_1b,
         {failed,{error,{test_case_failed,no_group_data}}}}},
       {ct_test_support_eh,stop_logging,[]}
      ];
  test_events(order_of_tests_in_multiple_suites) ->
      [{ct_test_support_eh,start_logging,{'DEF','RUNDIR'}},
       {ct_test_support_eh,tc_start,{groups_12_SUITE,testcase_1a}},
       {ct_test_support_eh,tc_done,{groups_12_SUITE,testcase_1a,'_'}},
       {ct_test_support_eh,tc_start,{groups_11_SUITE,testcase_1}},
       {ct_test_support_eh,tc_done,{groups_11_SUITE,testcase_1,ok}},
       {ct_test_support_eh,tc_start,{groups_12_SUITE,testcase_1b}},
       {ct_test_support_eh,tc_done,{groups_12_SUITE,testcase_1b,'_'}},
       {ct_test_support_eh,stop_logging,[]}
      ];
  test_events(order_of_suites_in_multiple_dirs) ->
      [{ct_test_support_eh,start_logging,{'DEF','RUNDIR'}},
       {ct_test_support_eh,tc_start,{groups_12_SUITE,init_per_suite}},
       {ct_test_support_eh,tc_done,{groups_12_SUITE,init_per_suite,'_'}},
       {ct_test_support_eh,tc_start,{groups_12_SUITE,end_per_suite}},
       {ct_test_support_eh,tc_done,{groups_12_SUITE,end_per_suite,'_'}},
       {ct_test_support_eh,tc_start,{groups_22_SUITE,init_per_suite}},
       {ct_test_support_eh,tc_done,{groups_22_SUITE,init_per_suite,'_'}},
       {ct_test_support_eh,tc_start,{groups_22_SUITE,end_per_suite}},
       {ct_test_support_eh,tc_done,{groups_22_SUITE,end_per_suite,'_'}},
       {ct_test_support_eh,tc_start,{groups_11_SUITE,init_per_suite}},
       {ct_test_support_eh,tc_done,{groups_11_SUITE,init_per_suite,'_'}},
       {ct_test_support_eh,tc_start,{groups_11_SUITE,end_per_suite}},
       {ct_test_support_eh,tc_done,{groups_11_SUITE,end_per_suite,'_'}},
       {ct_test_support_eh,stop_logging,[]}];
  test_events(order_of_groups_in_multiple_dirs) ->
      [{ct_test_support_eh,start_logging,{'DEF','RUNDIR'}},
       
       {ct_test_support_eh,tc_start,
        {groups_12_SUITE,{init_per_group,test_group_1a,'_'}}},
       {ct_test_support_eh,tc_done,
        {groups_12_SUITE,{end_per_group,test_group_1a,'_'},'_'}},
  
       {ct_test_support_eh,tc_start,
        {groups_22_SUITE,{init_per_group,test_group_1a,'_'}}},
       {ct_test_support_eh,tc_done,
        {groups_22_SUITE,{end_per_group,test_group_1a,'_'},'_'}},
        
       {ct_test_support_eh,tc_start,
        {groups_12_SUITE,{init_per_group,test_group_1b,'_'}}},
       {ct_test_support_eh,tc_done,
        {groups_12_SUITE,{end_per_group,test_group_1b,'_'},'_'}},
  
       {ct_test_support_eh,stop_logging,[]}];
  test_events(order_of_groups_in_multiple_suites) ->
      [{ct_test_support_eh,start_logging,{'DEF','RUNDIR'}},
       
       {ct_test_support_eh,tc_start,
        {groups_12_SUITE,{init_per_group,test_group_1a,'_'}}},
       {ct_test_support_eh,tc_done,
        {groups_12_SUITE,{end_per_group,test_group_1a,'_'},'_'}},
  
       {ct_test_support_eh,tc_start,
        {groups_11_SUITE,{init_per_group,test_group_1a,'_'}}},
       {ct_test_support_eh,tc_done,
        {groups_11_SUITE,{end_per_group,test_group_1a,'_'},'_'}},
        
       {ct_test_support_eh,tc_start,
        {groups_12_SUITE,{init_per_group,test_group_1b,'_'}}},
       {ct_test_support_eh,tc_done,
        {groups_12_SUITE,{end_per_group,test_group_1b,'_'},'_'}},
  
       {ct_test_support_eh,stop_logging,[]}];
  test_events(_) ->
      [
      ].
  