Added test that shows that nested scope inherits properly from cmdline, config, and env

Review Request #1865 — Created March 4, 2015 and submitted — Latest diff uploaded

zundel
pants
zundel/test-options-middle-scoped
1201
8f365d4...
pants-reviews
benjyw, jsirois

Added test that shows that nested scope inherits properly from cmdline, config, and env.

I wrote this to test that https://rbcommons.com/s/twitter/r/1851/ did not break inheriting from a 'middle' scope, e.g. a config value set for 'compile' and 'DEFAULT' in compile.java -> compile -> DEFAULT still properly inherts from 'compile' when you request a value for 'compile.java'

It pleasantly surprised me that it didn't break those cases, but then I discovered that some other scenarios that didn't work the way I expected.

Loading...