New issue
Advanced search Search tips

Issue 739414 link

Starred by 3 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

[Services] Figure out way to separate Service Tests from service implementation being used under test

Project Member Reported by blundell@chromium.org, Jul 5 2017

Issue description

Service Tests are our way of testing the interfaces of a service by poking at it as a client of that service. In an ideal world, different implementations of the service would be able to seamlessly reuse that service's service tests, i.e., they could serve as a form of conformance test. However, currently the decision of which service implementation is under test is baked into the service test itself, as it's the service test that spins up the service.

It would be good to determine an architecture that gracefully separates these concerns so that one could change the service implementation under test by e.g. setting a GN variable. This would also have the extremely nice side benefit that it would *enforce* that service tests don't reach into a service implementation's internals (since they would have no access to those internals).
 
Project Member

Comment 1 by sheriffbot@chromium.org, Jul 6

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: -roc...@chromium.org rockot@google.com

Sign in to add a comment