That is not what I said :).
ok I see :)
We often get at least two groups in a configuration: - Core - the real code - Tests - the associated tests
Yes I tried to get consistent.
The question is what should be loaded by 'default' (this is what gets loaded when you do not specify anything in the dependency). Ok I forgot that one.
By saying spec group: 'default' with: #('Core') we say that by default we do not load tests.
Yes and by default I would prefer to get the tests too :)
If we do not specify any 'default', it will take by default everything, hence it will be equivalent in our case with spec group: 'default' with: #('Core' 'Tests');
Does it really load everything? So default is ALL by default --- I forgot again.
I would want to favor the loading of tests by default.
Me too.
That is why, either we explicitly put the 'Tests' group in the 'default' group,
- I would go for this behavior because I do not like implicit behavior when this is about configuration and I will start to write comments in all the configurations "default is used when nothing is specified by default it will load everything but better specify what everything is" So once we agree I will start editing configurations like a mad. Stef
or we do not specify a 'default' at all in trivial configurations like the ConfigurationOfXMLParser.
Cheers, Doru
Hi,
Could anyone provide me with access to the PharoExtras team on STHub?
I would need to modify a bit the ConfigurationOfXMLParser to load both Core and Tests by default.
Cheers, Doru
-- www.tudorgirba.com
"If you can't say why something is relevant, it probably isn't."
-- www.tudorgirba.com
"Speaking louder won't make the point worthier."