testability-driver 1.0.4 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/tdriver-devtools +0 -0
- data/config/sut_setup.rb +32 -0
- data/config/sut_teardown.rb +32 -0
- data/ext/extconf.rb +3 -1
- data/lib/tdriver-devtools/behaviour/old/xml/update +0 -0
- data/lib/tdriver-devtools/behaviour/xml/generate.rb +0 -0
- data/lib/tdriver-devtools/doc/update +0 -0
- data/lib/tdriver-devtools/doc/xslt/update +0 -0
- data/lib/tdriver-devtools/tdriver-devtools.rb +0 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/application_closable_0x3f.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/application_close.feature +15 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/application_environment.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/application_executable_name.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/application_uid.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/created.rid +1 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/find_find.feature +15 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/flash_behaviour_flash.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/flash_behaviour_flash_images.feature +15 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_application.feature +15 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_capture_screen.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_child.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_clear_verify_blocks.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_connect.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_controller_execution_order.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_controller_execution_order_0x3d.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_current_application_id.feature +15 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_disconnect.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_dump_count.feature +15 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_freeze.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_frozen.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_get_application_id.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_get_object.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_get_operator_data.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_get_ui_dump.feature +15 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_get_user_information.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_input.feature +15 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_parameter.feature +15 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_press_key.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_received_data.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_refresh.feature +20 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_refresh_timeout.feature +15 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_refresh_tries.feature +15 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_refresh_ui_dump.feature +20 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_run.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_sent_data.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_state.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_translate.feature +30 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_ui_type.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_ui_version.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_unfreeze.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_update.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_verify_always.feature +20 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_verify_blocks.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_x_path.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_xml_data.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_xml_data_0x3d.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/sut_xml_data_crc.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/switchbox_behaviour_power_down.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/switchbox_behaviour_power_status.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/switchbox_behaviour_power_up.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/switchbox_behaviour_reset.feature +10 -0
- data/lib/tdriver-devtools/tests/feature_tests/output/verification_test_object_exists_0x3f.feature +15 -0
- data/lib/tdriver-devtools/tests/feature_tests/update +0 -0
- data/lib/tdriver/base/behaviour/behaviours/object_composition.rb +4 -4
- data/lib/tdriver/base/behaviour/factory.rb +8 -0
- data/lib/tdriver/base/sut/generic/behaviours/application.rb +24 -3
- data/lib/tdriver/base/sut/generic/behaviours/sut.rb +465 -354
- data/lib/tdriver/base/test_object/adapter.rb +2 -2
- data/lib/tdriver/base/test_object/behaviours/test_object.rb +22 -5
- data/lib/tdriver/base/test_object/cache.rb +1 -1
- data/lib/tdriver/base/test_object/factory.rb +23 -3
- data/lib/tdriver/env.rb +0 -0
- data/lib/tdriver/loader.rb +0 -0
- data/lib/tdriver/matti.rb +0 -0
- data/lib/tdriver/report/error_recovery/tdriver_error_recovery.rb +22 -24
- data/lib/tdriver/report/report.rb +8 -1
- data/lib/tdriver/report/report_api.rb +18 -0
- data/lib/tdriver/report/report_combine.rb +1 -1
- data/lib/tdriver/report/report_creator.rb +5 -1
- data/lib/tdriver/report/report_execution_statistics.rb +105 -78
- data/lib/tdriver/report/report_test_case_run.rb +2 -1
- data/lib/tdriver/report/report_test_run.rb +187 -116
- data/lib/tdriver/report/report_writer.rb +49 -29
- data/lib/tdriver/tdriver.rb +14 -3
- data/lib/tdriver/util/common/exception.rb +53 -0
- data/lib/tdriver/util/common/hash.rb +79 -23
- data/lib/tdriver/util/common/numeric.rb +26 -5
- data/lib/tdriver/util/common/object.rb +44 -15
- data/lib/tdriver/util/common/string.rb +4 -1
- data/lib/tdriver/util/filters/dynamic_attributes.rb +2 -1
- data/lib/tdriver/util/keymap/keymap.rb +81 -0
- data/lib/tdriver/util/loader.rb +4 -1
- data/lib/tdriver/util/logger/logger.rb +17 -9
- data/lib/tdriver/util/other/config.rb +0 -0
- data/lib/tdriver/util/parameter/error.rb +3 -0
- data/lib/tdriver/util/parameter/loader.rb +6 -1
- data/lib/tdriver/util/parameter/parameter.rb +87 -14
- data/lib/tdriver/util/parameter/parameter_new.rb +869 -0
- data/lib/tdriver/util/parameter/parameter_template.rb +2 -2
- data/lib/tdriver/util/parameter/parameter_user_api.rb +27 -3
- data/lib/tdriver/util/parameter/parameter_xml.rb +36 -38
- data/lib/tdriver/version.rb +1 -1
- data/xml/templates/generic.xml +4 -10
- metadata +196 -138
data/bin/tdriver-devtools
CHANGED
|
File without changes
|
data/config/sut_setup.rb
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
############################################################################
|
|
2
|
+
##
|
|
3
|
+
## Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
|
|
4
|
+
## All rights reserved.
|
|
5
|
+
## Contact: Nokia Corporation (testabilitydriver@nokia.com)
|
|
6
|
+
##
|
|
7
|
+
## This file is part of Testability Driver.
|
|
8
|
+
##
|
|
9
|
+
## If you have questions regarding the use of this file, please contact
|
|
10
|
+
## Nokia at testabilitydriver@nokia.com .
|
|
11
|
+
##
|
|
12
|
+
## This library is free software; you can redistribute it and/or
|
|
13
|
+
## modify it under the terms of the GNU Lesser General Public
|
|
14
|
+
## License version 2.1 as published by the Free Software Foundation
|
|
15
|
+
## and appearing in the file LICENSE.LGPL included in the packaging
|
|
16
|
+
## of this file.
|
|
17
|
+
##
|
|
18
|
+
############################################################################
|
|
19
|
+
# Generic configuration file for sut setup.
|
|
20
|
+
# Can be used to provide ruby code for sut configurations.
|
|
21
|
+
module MobyBehaviour
|
|
22
|
+
module SUT
|
|
23
|
+
# Setup method for sut that will be executed when @sut.setup is called
|
|
24
|
+
# Methods for sut can be called with self
|
|
25
|
+
# Example:
|
|
26
|
+
# self.run(:name => 'testapp')
|
|
27
|
+
def setup
|
|
28
|
+
puts "Hello world"
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
############################################################################
|
|
2
|
+
##
|
|
3
|
+
## Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
|
|
4
|
+
## All rights reserved.
|
|
5
|
+
## Contact: Nokia Corporation (testabilitydriver@nokia.com)
|
|
6
|
+
##
|
|
7
|
+
## This file is part of Testability Driver.
|
|
8
|
+
##
|
|
9
|
+
## If you have questions regarding the use of this file, please contact
|
|
10
|
+
## Nokia at testabilitydriver@nokia.com .
|
|
11
|
+
##
|
|
12
|
+
## This library is free software; you can redistribute it and/or
|
|
13
|
+
## modify it under the terms of the GNU Lesser General Public
|
|
14
|
+
## License version 2.1 as published by the Free Software Foundation
|
|
15
|
+
## and appearing in the file LICENSE.LGPL included in the packaging
|
|
16
|
+
## of this file.
|
|
17
|
+
##
|
|
18
|
+
############################################################################
|
|
19
|
+
# Generic configuration file for sut teardown.
|
|
20
|
+
# Can be used to provide ruby code for sut configurations.
|
|
21
|
+
module MobyBehaviour
|
|
22
|
+
module SUT
|
|
23
|
+
# Teardown method for sut that will be executed when @sut.teardown is called
|
|
24
|
+
# Methods for sut can be called with self
|
|
25
|
+
# Example:
|
|
26
|
+
# self.application.close
|
|
27
|
+
def teardown
|
|
28
|
+
puts "Bye world"
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
|
data/ext/extconf.rb
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
##
|
|
18
18
|
############################################################################
|
|
19
19
|
|
|
20
|
-
require File.join( File.dirname(__FILE__), '../lib/tdriver/util/loader' )
|
|
20
|
+
require File.join( File.dirname(__FILE__), '../lib/tdriver/util/loader.rb' )
|
|
21
21
|
|
|
22
22
|
MobyUtil::GemHelper.install( MobyUtil::FileHelper.tdriver_home ){ | tdriver_home_folder |
|
|
23
23
|
|
|
@@ -29,6 +29,8 @@ MobyUtil::GemHelper.install( MobyUtil::FileHelper.tdriver_home ){ | tdriver_home
|
|
|
29
29
|
[ "../xml/parameters/tdriver_parameters.xml", "tdriver_parameters.xml", false ],
|
|
30
30
|
[ "../xml/parameters/tdriver_parameters.xml", "default/tdriver_parameters.xml", true ],
|
|
31
31
|
[ "../config/sut_parameters.rb", "sut_parameters.rb", true ],
|
|
32
|
+
[ "../config/sut_setup.rb", "sut_setup.rb", true ],
|
|
33
|
+
[ "../config/sut_teardown.rb", "sut_teardown.rb", true ],
|
|
32
34
|
|
|
33
35
|
# templates
|
|
34
36
|
[ "../xml/templates/*.xml", "templates/", true ],
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Feature: MobyBehaviour::Application#closable?
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use closable? method to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::Application behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing closable? method with required argument(s) (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].closable?()"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Feature: MobyBehaviour::Application#close
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use close method to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::Application behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing close method with required argument(s) (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].close()"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
11
|
+
Scenario: Testing close method with optional argument 'options_hash' (Rename this to be more descriptive)
|
|
12
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
13
|
+
When I execute "@app.[SOME_OBJECT].close(options_hash)"
|
|
14
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
15
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Feature: MobyBehaviour::Application#environment
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use environment method to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::Application behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing environment method with required argument(s) (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].environment()"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Feature: MobyBehaviour::Application#executable_name
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use executable_name method to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::Application behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing executable_name method with required argument(s) (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].executable_name()"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Feature: MobyBehaviour::Application#uid
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use uid method to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::Application behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing uid method with required argument(s) (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].uid()"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Thu, 16 Dec 2010 10:20:02 +0200
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Feature: MobyBehaviour::Find#find
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use find method to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::Find behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing find method with required argument(s) (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].find()"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
11
|
+
Scenario: Testing find method with optional argument 'attributes' (Rename this to be more descriptive)
|
|
12
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
13
|
+
When I execute "@app.[SOME_OBJECT].find(attributes)"
|
|
14
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
15
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Feature: MobyBehaviour::FlashBehaviour#flash
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use flash method to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::FlashBehaviour behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing flash method with required argument(s) (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].flash()"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Feature: MobyBehaviour::FlashBehaviour#flash_images
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use flash_images method to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::FlashBehaviour behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing flash_images method with required argument(s) (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].flash_images()"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
11
|
+
Scenario: Testing flash_images method with optional argument 'flash_files' (Rename this to be more descriptive)
|
|
12
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
13
|
+
When I execute "@app.[SOME_OBJECT].flash_images(flash_files)"
|
|
14
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
15
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Feature: MobyBehaviour::SUT#application
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use application method to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::SUT behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing application method with required argument(s) (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].application()"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
11
|
+
Scenario: Testing application method with optional argument 'attributes' (Rename this to be more descriptive)
|
|
12
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
13
|
+
When I execute "@app.[SOME_OBJECT].application(attributes)"
|
|
14
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
15
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Feature: MobyBehaviour::SUT#capture_screen
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use capture_screen method to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::SUT behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing capture_screen method with required argument(s) (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].capture_screen(arguments)"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Feature: MobyBehaviour::SUT#child
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use child method to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::SUT behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing child method with required argument(s) (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].child(attributes)"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Feature: MobyBehaviour::SUT#clear_verify_blocks
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use clear_verify_blocks method to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::SUT behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing clear_verify_blocks method with required argument(s) (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].clear_verify_blocks()"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Feature: MobyBehaviour::SUT#connect
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use connect method to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::SUT behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing connect method with required argument(s) (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].connect(id)"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Feature: MobyBehaviour::SutController#execution_order
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use execution_order method to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::SutController behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing execution_order method with required argument(s) (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].execution_order()"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
data/lib/tdriver-devtools/tests/feature_tests/output/sut_controller_execution_order_0x3d.feature
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Feature: MobyBehaviour::SutController#execution_order=
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use execution_order= method to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::SutController behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing execution_order= method with required argument(s) (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].execution_order=(order)"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Feature: MobyBehaviour::SUT#current_application_id=
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use current_application_id attribute to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::SUT behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing current_application_id attribute (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].current_application_id"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
11
|
+
Scenario: Testing current_application_id= attribute (Rename this to be more descriptive)
|
|
12
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
13
|
+
When I execute "@app.[SOME_OBJECT].current_application_id="
|
|
14
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
15
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Feature: MobyBehaviour::SUT#disconnect
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use disconnect method to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::SUT behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing disconnect method with required argument(s) (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].disconnect()"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Feature: MobyBehaviour::SUT#dump_count=
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use dump_count attribute to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::SUT behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing dump_count attribute (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].dump_count"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
11
|
+
Scenario: Testing dump_count= attribute (Rename this to be more descriptive)
|
|
12
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
13
|
+
When I execute "@app.[SOME_OBJECT].dump_count="
|
|
14
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
15
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Feature: MobyBehaviour::SUT#freeze
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use freeze method to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::SUT behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing freeze method with required argument(s) (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].freeze()"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Feature: MobyBehaviour::SUT#frozen
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use frozen attribute to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::SUT behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing frozen attribute (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].frozen"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Feature: MobyBehaviour::SUT#get_application_id
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use get_application_id method to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::SUT behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing get_application_id method with required argument(s) (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].get_application_id()"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Feature: MobyBehaviour::SUT#get_object
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use get_object method to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::SUT behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing get_object method with required argument(s) (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].get_object(object_id)"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Feature: MobyBehaviour::SUT#get_operator_data
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use get_operator_data method to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::SUT behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing get_operator_data method with required argument(s) (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].get_operator_data(operator_data_lname)"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Feature: MobyBehaviour::SUT#get_ui_dump
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use get_ui_dump method to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::SUT behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing get_ui_dump method with required argument(s) (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].get_ui_dump()"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
11
|
+
Scenario: Testing get_ui_dump method with optional argument 'refresh_args' (Rename this to be more descriptive)
|
|
12
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
13
|
+
When I execute "@app.[SOME_OBJECT].get_ui_dump(refresh_args)"
|
|
14
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
15
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Feature: MobyBehaviour::SUT#get_user_information
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use get_user_information method to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::SUT behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing get_user_information method with required argument(s) (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].get_user_information(user_data_lname)"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Feature: MobyBehaviour::SUT#input=
|
|
2
|
+
As a test scripter writer
|
|
3
|
+
I want to use input attribute to [DO_SOMETHING] in [TARGET_APPLICATION]
|
|
4
|
+
so that I can test the MobyBehaviour::SUT behaviour
|
|
5
|
+
|
|
6
|
+
Scenario: Testing input attribute (Rename this to be more descriptive)
|
|
7
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
8
|
+
When I execute "@app.[SOME_OBJECT].input"
|
|
9
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
10
|
+
|
|
11
|
+
Scenario: Testing input= attribute (Rename this to be more descriptive)
|
|
12
|
+
Given I launch application [APPLICATION_NAME] as @app
|
|
13
|
+
When I execute "@app.[SOME_OBJECT].input="
|
|
14
|
+
Then [ADD_YOUR_VERIFICATION_HERE]
|
|
15
|
+
|