I wrote a test class which doesnt have single Query in that.Also am getting error as 101 soql Test method means ? test.startTest(); statitc testmethod method1I(){ } Tets.stopTest(); like this ?
When ever you will insert a record from test class all trigger related to that object and event will fire and all SOQL inside trigger will consider . You can create a debug log and check how many trigger got fire while executing test case .
Try to use Test.startTest() and Test.stopTest() in each test method .It will help .
I wrote a test class which doesnt have single Query in that.Also am getting error as 101 soql
Test method means ?
test.startTest();
statitc testmethod method1I(){
}
Tets.stopTest();
like this ?
When ever you will insert a record from test class all trigger related to that object and event will fire and all SOQL inside trigger will consider .
You can create a debug log and check how many trigger got fire while executing test case .
Thnaks
Manoj