This is probably a very silly question but I recall on some forums a conversation in regards to this subject. I'm working on my code coverage for an apex class. For that test I need to use the user object to obtain certain information from a number of users. I need to get access to Country, Title, and some other information, can be from any user.
This is not big deal. The question is,
if need I users for my test, should I use real user ids?
Can I create users inside the test class?
Why I asking this... I believe, like a mentioned on the first lines of this post, that I need to have free licences in order for me to create those users on the test class. I think that a conversation on this subject took place with Jeff Douglas in a forum, but can't remember the outcome of it. Anyone can explain what is the actual situation on this matter?