groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Kumar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GROOVY-8481) Writting grrovy test case
Date Fri, 23 Feb 2018 08:16:00 GMT
Rahul Kumar created GROOVY-8481:
-----------------------------------

             Summary: Writting grrovy test case 
                 Key: GROOVY-8481
                 URL: https://issues.apache.org/jira/browse/GROOVY-8481
             Project: Groovy
          Issue Type: Test
          Components: groovy-runtime
            Reporter: Rahul Kumar


I have a groovy class with sql queries in it.I had wriiten a groovy test case by mocking sql
class but it's shows Missing method exception and points to the line
 mock.use{
def obj=new object()
obj.function()
}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message