On 11/09/2014 6:57 AM, Shane Tomlinson wrote:
> [..snip..]
> 
> It feels like a dream. All is right with the world until the unit tests
> are run. BOOOM.
> 
> This approach requires *every* *single* View test to be updated to pass
> in a manually created FxaClient that contains a reference to a Relier.
> Each individual update makes sense, but the number of tests that needed
> to be updated made me doubt the approach.
> [..snip..]
> Personally, for long term maintainability, I prefer approach #1. I think
> it will make it easier to add calls to the FxaClient in new modules
> without worrying about so many things. I feel like #1 is closer to where
> we want to go in the long run, and it allows us to migrate info from
> Session to the Reliers in a more direct manner. It just scares me that
> the diff is so large.
> 
> I want to see what you guys think, and if you have any ideas.

Without looking at the PRs in any detail, I'd rather trade test churn
for an improved API any day of the week.

But I guess I can safely say that because I don't have to review the
huge diff :-)


  Ryan
_______________________________________________
Dev-fxacct mailing list
[email protected]
https://mail.mozilla.org/listinfo/dev-fxacct

Reply via email to