testingtestcaseuser-rolesmicrosoft-test-manager

Testing multiple User Roles


My question may sound a little bit stupid.

My team has to test a Web application that it is used by 3 different User Roles. So, we start by writing our Test Cases based on the User Stories. My problem is that I don't want to create 3 different Test Cases for each User Role. I think that this needs a lot of time when writing the Test Cases and later testing them because:

Total Test Cases Number = User Stories x Test Cases Per User Story x User Roles Number.

Moreover, I don't want to create new Test Cases if some time in the future a new User Role will be created because they will be just duplicates with some little differences.

Is there a better way to manage this situation?

Thanks in advance.


Solution

  • Single Responsibility Principle?

    Code and test the user access separately to the user story, unless you really do get a completely different story based on your role, in which case, its a distinct spec and warrants its own test.