Quantcast
Channel: Using SPUser with Moles and Pex
Browsing all 3 articles
Browse latest View live

Using SPUser with Moles and Pex

Thanks, I will generate a project that is within SP Context and get SPUserCollection, and use the values of the SPUsers ,save them in Notepad and populate my MSPUser object with the values. 

View Article



Using SPUser with Moles and Pex

No this is not possible because your tests do not execute in a SharePoint context. You will need to fake each SPUser property you need. You can also use Behaviors which will make your life easier (try...

View Article

Using SPUser with Moles and Pex

Hi, I am new to Pex and Moles and I have a Sharepoint function that I would like to test, I have mocked the SPWeb object as well as the SPSite object, but would like to test the SPUser Object. Is there...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images