So I have this test Class, when I run the test from inside Salesforce it fails. When I run the test from the Dev Console it passes. Why are the results different when I invoke the test from a different interface?
Just to be completely clear, when I describe running the test from inside Salesforce, I mean Setup -> Develop -> Apex Test Execution (select the test and run it).
When I describe running it from the Dev Console it's Test -> New Run -> (Select the test Class and run it).
The test also fails when validating a change set, however, change set deployments don't seem to be reporting the failure.
The nature of the failure is due to a DML exception that appears to be related to something build in Process Builder.
Are Apex tests run differently depending on how they are invoked?