| Sergiy Belozorov | | Software Engineer | | ser...@chromium.org |
Erika-Mann-Straße 33
80636 München
AG Hamburg, HRB 86891 | Sitz der Gesellschaft: Hamburg | Geschäftsführer: Paul Manicle, Halimah DeLaine Prado
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAADpsr7L2vUCJkJriekVSw1xmHHiE%2BMorG7A_u_eGzM4S7fbRA%40mail.gmail.com.
There is Fruit as linked in my original message. But there are probably others. We could also create one specifically tailored to Chromium needs, but we'd need to define requirements first.
I think this Getting Started page is a pretty good start: https://github.com/google/fruit/wiki/tutorial:-getting-started.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CACwGi-7ByAECQ3ME47SqGFcQeUUS%2BaNbxvxyGQLN6b%2BU8nTSfg%40mail.gmail.com.
--
Hi,tl;dr injecting dependencies from an integration test is hard, especially when they are used in constructors/static members; let's discuss whether we want to add a dependency injection framework to Chromium code to make this easier and what criteria should such framework satisfyToday in Chromium code there are mainly two mechanisms used for dependency injection in integration tests:
- pass dependencies via the constructor, and
- use helper methods (typically ending with ForTesting or _for_testing) to replace default dependencies with mocks.
--
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAADpsr7L2vUCJkJriekVSw1xmHHiE%2BMorG7A_u_eGzM4S7fbRA%40mail.gmail.com.
You received this message because you are subscribed to a topic in the Google Groups "Chromium-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/a/chromium.org/d/topic/chromium-dev/4NPKEyyNmtU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAADpsr45fTBVE6rhOsFPJuEvjFys6TH%3D3GVCPo8UdxG5QEWxqw%40mail.gmail.com.