Bypass Validation Rules while running Apex Test Class

@isTest private class TestClassName { @testSetup private static void dataSetup(){ //bypass validation rules for test class INSERT new Validation_Rule_Settings__c( SetupOwnerId=UserInfo.getOrganizationId(),

read more