Forum General

Separating your UItests

chrisc49424chrisc49424 Member ✭✭

I have an app that has different "modes" based on the user (Seller, Delivery, Merchandiser, etc.). I was looking for a best practice / recommendation on creating UITest separately for each mode. Do you create a separate Test.cs for each (if possible) in a single project? Or would you create a separate project for each?

Tagged:

Best Answer

  • JamesLaveryJamesLavery GBBeta, University ✭✭✭✭✭
    Accepted Answer

    I'd definitely not create a separate project for each. Consider either having a separate Test.cs (i.e. class) for each, or maybe categorising your tests by mode.

Answers

  • JamesLaveryJamesLavery GBBeta, University ✭✭✭✭✭
    Accepted Answer

    I'd definitely not create a separate project for each. Consider either having a separate Test.cs (i.e. class) for each, or maybe categorising your tests by mode.

  • JohnHardmanJohnHardman GBUniversity admin

    @chrisc49424 - I second what @JamesLavery said above :-)

  • chrisc49424chrisc49424 Member ✭✭

    Thanks guys, I did end up creating the separate classes for each mode. That way I did not have to recreate all the page objects for each project.

Sign In or Register to comment.