[
https://issues.apache.org/jira/browse/TINKERPOP-2412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17188090#comment-17188090
]
Stephen Mallette commented on TINKERPOP-2412:
---------------------------------------------
Does this test not fit that pattern:
{code}
g.V().as("a").out("created").as("b").math("b +
a").by(in("created").count()).by("age")
{code}
https://github.com/apache/tinkerpop/blob/c4754ed292ec17c38842c2b34eeb2b5b2dbd4dda/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/MathTest.java#L149
> Add missing query tests
> -----------------------
>
> Key: TINKERPOP-2412
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2412
> Project: TinkerPop
> Issue Type: Improvement
> Components: test-suite
> Affects Versions: 3.4.8
> Reporter: Divij Vaidya
> Priority: Minor
>
> In our Gremlin query test suites, we do not have tests that would test the
> following pattern of queries:
> # "....blah().barrier().as('x')....blah().select('x')"
> # "....blah().valueMap().as('x')....blah().select('x')"
> # "....blah().path().as('x')....blah().select('x')"
> # "....blah().count().as('x')....blah().select('x')"
> The category of tests can be clubbed into defining an alias and using the
> value of the alias further ahead in the traversal.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)