blob: 30eebb272ace16e51a7d7b1f5b1b57767d96b78d (
plain) (
tree)
|
|
%%
%% %CopyrightBegin%
%%
%% Copyright Ericsson AB 2010-2017. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
%% You may obtain a copy of the License at
%%
%% http://www.apache.org/licenses/LICENSE-2.0
%%
%% Unless required by applicable law or agreed to in writing, software
%% distributed under the License is distributed on an "AS IS" BASIS,
%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
%% See the License for the specific language governing permissions and
%% limitations under the License.
%%
%% %CopyrightEnd%
%%
-module(seq_SUITE).
-compile(export_all).
-include("ct.hrl").
init_per_testcase(_,Config) ->
Config.
end_per_testcase(_,_) ->
ok.
all() ->
[{sequence,seq1}].
sequences() ->
[{seq1,[test_case_1,test_case_2]}].
%% Test cases starts here.
test_case_1(_Config) ->
exit(failed_on_purpose).
test_case_2(_Config) ->
ct:fail("This test shall never be run since test_case_1 fails "
"and they are run in sequence").
|