I'm trying to use Test.LoadData.
CSV
Name, TEST_field__c
1,test1
2,test2
TestClass
List<TESTObject__c> a = Test.loadData(TESTObject__c.sObjectType, 'TestData');
When I tried to load this csv from static resource, I caught error like this.
System.StringException: Unknown field: TEST_field__c
Can custom field data load from static resource?
Absolutely same situation
Name, TEST_field__c