Currently looking at An Advanced Example of Using
Been writing some unit tests for the VisualForce controllers I've been creating, which, with my original code would result in "Interview not started" exceptions.
I did some googling and found this older (August 2012) salesforce.stackechange.com q&a ("Test class for Visual Workflow") whence @Metadaddy informed the OP:
Right now there is no real way to test the controller. You would need an Apex API for Flow to do this, which I am told is something we are working on.
Using mocking, I was able to test 91% of my controller, but as a maximalist who is dubious about using mocking for tests, I'd much rather have higher and more direct coverage.
Does anyone know if there is an adequate Apex API for Flow, or any alternative solutions, to enable this yet?