You need to sign in to do that
Don't have an account?
cambart14
Code Coverage on Apex Class used as Visualforce Page Controller
I have a custom Visualforce page that is used to create an interactive report for our sales teams. Once a sales rep clicks on custom tab, it brings them to the Visualforce page, which in turn calls the Apex class. The Apex class queries the rep's opportunities and puts them into a list. The Visualforce page uses that list and some CSS and Javascript to render an interactive report for the rep.
My question is how would I get code coverage for the Apex class as it is not triggered by a record and does not have a DML statement? It simply calls a list of records in a list and displays it to the user.
My question is how would I get code coverage for the Apex class as it is not triggered by a record and does not have a DML statement? It simply calls a list of records in a list and displays it to the user.
NoDMLClass.cls
NoDMLClass_Test.cls
Is this the type of thing you're talking about?
Visualforce Page with 'pivot' as page controller
Apex controller class
I need to develop Pivot Table in salesforce
can you please share your Js Ressource ?
Thank you
The resources referenced in this come from nicolaskruchten's Pivot Table project: https://github.com/nicolaskruchten/pivottable.