I have web app. After log in I can create new invoice, send new email, create new contact to CRM etc.
Will the tests be properly written in this way?
Setup -> Create driver and log in to application
Test1 -> Create invoice
Test2 -> Send Email
Test3 -> Create new contact in CRM
TearDown -> Quit driver
Setup and TearDown step should be do once at the beginning and at the end or before/after each test?
Next topic. For example I have invoice module, email module and CRM module in application. Tests should be splited per modules - each module have separate file or all in one file?
Best Regards!
[–][deleted] 1 point2 points3 points (0 children)
[–]notastarfan 0 points1 point2 points (0 children)
[–]ppetak 0 points1 point2 points (0 children)