TINKERPOP-1784 Added some more vertex tests

Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/09cbac6b
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/09cbac6b
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/09cbac6b

Branch: refs/heads/TINKERPOP-1784
Commit: 09cbac6bdf2188d4c6965f25574522417764c11a
Parents: f127592
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Thu Sep 28 10:29:47 2017 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Thu Nov 2 13:37:22 2017 -0400

----------------------------------------------------------------------
 gremlin-test/features/map/Vertex.feature | 70 +++++++++++++++++++++++++--
 1 file changed, 65 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/09cbac6b/gremlin-test/features/map/Vertex.feature
----------------------------------------------------------------------
diff --git a/gremlin-test/features/map/Vertex.feature 
b/gremlin-test/features/map/Vertex.feature
index fbd4168..5bed2a6 100644
--- a/gremlin-test/features/map/Vertex.feature
+++ b/gremlin-test/features/map/Vertex.feature
@@ -73,10 +73,10 @@ Feature: Step - V(), E(), out(), in(), both(), inE(), 
outE(), bothE()
 
   Scenario: g_VX2X_in
     Given the modern graph
-    And using the parameter v1 is "v[vadas]"
+    And using the parameter v2 is "v[vadas]"
     And the traversal of
       """
-      g.V(v1).in()
+      g.V(v2).in()
       """
     When iterated to list
     Then the result should be unordered
@@ -84,10 +84,10 @@ Feature: Step - V(), E(), out(), in(), both(), inE(), 
outE(), bothE()
 
   Scenario: g_VX4X_both
     Given the modern graph
-    And using the parameter v1 is "v[josh]"
+    And using the parameter v4 is "v[josh]"
     And the traversal of
       """
-      g.V(v1).both()
+      g.V(v4).both()
       """
     When iterated to list
     Then the result should be unordered
@@ -108,4 +108,64 @@ Feature: Step - V(), E(), out(), in(), both(), inE(), 
outE(), bothE()
       | edge | marko-knows->vadas |
       | edge | peter-created->lop |
       | edge | josh-created->lop |
-      | edge | josh-created->ripple |
\ No newline at end of file
+      | edge | josh-created->ripple |
+
+  Scenario: g_EX11X
+    Given the modern graph
+    And using the parameter e11 is "e[josh-created->lop]"
+    And the traversal of
+    """
+      g.E(e11)
+      """
+    When iterated to list
+    Then the result should be unordered
+      | edge | josh-created->lop |
+
+  Scenario: g_VX1X_outE
+    Given the modern graph
+    And using the parameter v1 is "v[marko]"
+    And the traversal of
+    """
+      g.V(v1).outE()
+      """
+    When iterated to list
+    Then the result should be unordered
+      | edge | marko-created->lop |
+      | edge | marko-knows->josh |
+      | edge | marko-knows->vadas |
+
+  Scenario: g_VX2X_outE
+    Given the modern graph
+    And using the parameter v2 is "v[vadas]"
+    And the traversal of
+    """
+      g.V(v2).inE()
+      """
+    When iterated to list
+    Then the result should be unordered
+      | edge | marko-knows->vadas |
+
+  Scenario: g_VX4X_bothEXcreatedX
+    Given the modern graph
+    And using the parameter v4 is "v[josh]"
+    And the traversal of
+    """
+      g.V(v4).bothE("created")
+      """
+    When iterated to list
+    Then the result should be unordered
+      | edge | josh-created->lop |
+      | edge | josh-created->ripple |
+
+  Scenario: g_VX4X_bothE
+    Given the modern graph
+    And using the parameter v4 is "v[josh]"
+    And the traversal of
+    """
+      g.V(v4).bothE()
+      """
+    When iterated to list
+    Then the result should be unordered
+      | edge | josh-created->lop |
+      | edge | josh-created->ripple |
+      | edge | marko-knows->josh |

Reply via email to