We want to implement static code analysis (like SPCop / SPCAF / StyleCop) and unit testing (what's the easiest way to mock SharePoint objects? Are there alternatives to Microsoft Fakes?) into our development process. I want to evaluate some tools that could be integrated into our continuous build.
What are your suggestions, known issues, best practices and most appreciated tools?
It would be nice, if it could detect, e.g., access to lists using the display name (problematic on a non us-en system), SPList.Items.Add vs SPList.AddItem, SPWeb.Lists vs SPWeb.GetList (depends on number of lists in the web), usages of SPWeb.AllowUnsafeUpdates, etc.
Thanks in advance!