Reputation: 80
My sincere apologies, if am duplicating the question here. I have set of tests that need to shared among 3 other projects and my application is web paged
I am considering google as an example:
Output:
All the projects should have google login test added part of the test suite.
Thanks for your answers
Upvotes: 1
Views: 951
Reputation: 12849
All the projects should have google login test added part of the test suite.
This is incorrect. There should be only one Login module for which there is tests. All other projects should have no login logic whatsoever. They should either assume user is already logged in or only receive relevant permissions.
Simply said : Duplicate tests signalize duplicate logic. And duplicate logic is A Bad Thing (tm).
Upvotes: 0
Reputation: 23234
Upvotes: 1