function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
advlgxpmadvlgxpm 

Beginners - How To Deploy A Trigger To Production With Test Coverage

RickyGRickyG
Varun -

Thanks for the article, but would like to make a correction.  Neither test classes nor test methods make any changes to the underlying data.  In effect, both do DML operations but do not commit.

Thanks again.
advlgxpmadvlgxpm
Please feel free to correct the wiki article
ClaiborneClaiborne
Actually test methods do increment counters on objects where the Name field is autotext. This can cause confusion if you are doing a lot of testing and suddenly there is a gap in your auto-numbered objects. Nothing is wrong, but there is user confusion.