[Question] - How to deploy an update to a class and test class to production

Issue #2736 resolved
Mike Wiley created an issue

The issue is that I want to be able to deploy the controller and the related test and ONLY run that test during deployment. The issue is that it wants to check everything against what's already deployed on the server. So either I get 0% coverage (if trying to send just the class) OR I get a “Method signature mismatch” because the controller method has been updated and the test seems to be ran against the controller that's already on the server.

Also, is there an alternative way to reach out to you when I have simple questions like this to not clutter up your issue board ? Unless you prefer them here ?

Comments (2)

  1. Scott Wells repo owner
    • changed status to open

    Mike, right now when deploying to a production org via the metadata API, IC specifes that at least local tests must be run. In the absence of deployment againt a validated change set -- which IC doesn't currently support -- that's a hard requirement of the platform.

    Please feel free to correct me if this has changed, but I believe it's still the case.

  2. Scott Wells repo owner

    Resolving as working as defined/required, but again, if the situation has changed, please reopen and ideally provide a link to the corresponding documentation.

  3. Log in to comment