Activity › Forums › Salesforce® Discussions › Is it possible to insert Custom setting object in Salesforce testing? Salesforce® Discussions Is it possible to insert Custom setting object in Salesforce testing? Posted by Aditya on July 15, 2020 at 9:55 AM Is it possible to insert Custom setting object in Salesforce testing? Marziya replied 5 years, 10 months ago 2 Members · 1 Reply 1 Reply Marziya Member July 15, 2020 at 1:30 PM Custom settings are nothing but an object . All you need in Test Class is instantiate the custom settings object and create the records of the custom settings and insert it in Test class itself. Make sure you bulkify your insert call. Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me