You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by GitBox <gi...@apache.org> on 2020/02/21 11:45:27 UTC

[GitHub] [tinkerpop] spmallette commented on issue #1251: Add session mode in js driver

spmallette commented on issue #1251: Add session mode in js driver
URL: https://github.com/apache/tinkerpop/pull/1251#issuecomment-589620238
 
 
   We do test transactions but they only test when Neo4j is present and we only test those with Java test cases. The nature of a session and transactions within a session are already well tested that way. I think that here for a GLV you just want to ensure that the most basic aspect of a session works. The most basic tests to assert that I think would be to create a variable in one request like "x = 1" then in a second request send "x = x + 1" and assert that you get "2" as a result. you may wish to do that in a loop for multiple requests just to demonstrate the ongoing modifications to the session variable "x". 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services