Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
TDL Open Source
TDL Examples
Compare revisions
eac9f7d1f19984be68d60fab57d5fda0dd68eb57...e909dc278085c9b334c383530d965e901cd1867f
Hide whitespace changes
Inline
Side-by-side
tr-examples/objectives.tplan2.tdltx.tdltx
0 → 100644
View file @
e909dc27
Package objectives {
Import all from Standard
Import all from data
Import all from domain
Import all from base_configuration
Test Purpose TP_MOVE_OBJECT_LITERAL {
Objective: "Move object to destination with literal values."
PICS: MOVABLE
Expected behaviour
ensure that {
when {
the Controller entity sends the ^start position containing {
x indicating value 22,
y indicating value 21 }
} then {
the Object entity moves_to the received ^start position
} }
}
Test Purpose TP_MOVE_OBJECT_PREDEFINED {
Objective: "Move object to destination with predefined values."
Expected behaviour
ensure that {
when {
the Controller entity sends
the
(predefined) instance startingPosition (
x = 21,
y = 21
)
} then {
the Object entity moves_to
the
(predefined) instance startingPosition
} }
}
Objective TO_MOVE_OBJECT_UNIFIED {
Description: "Move object to destination with unified test purpose description."
}
Objective: TO_MOVE_OBJECT_UNIFIED
@Test Purpose Description
Test Description TP_MOVE_OBJECT_UNIFIED uses basic {
@Expected behaviour
{
@when
{
perform action : "the Controller sends the starting position"
controller::wifi sends "x=21, y=21" to object::wifi
controller::wifi sends position (
x = 21,
y = 21
) to object::wifi
}
@then
{
perform action : "the Object moves to the requested position"
object::wifi sends "x=21, y=21" to controller::wifi
object::wifi sends position (
x = 21,
y = 21
) to controller::wifi
}
}
}
}
\ No newline at end of file
tr-examples/objectives.tplan2.tdltx.tdltx.docx
0 → 100644
View file @
e909dc27
File added
Prev
1
2
3
Next