Hi,

On Mar 9, 2013, at 12:27 PM, stephane ducasse <[email protected]> wrote:

> It would be good to have a discussion because all the packages I did do not 
> follow this. 
> 
> what is the point to have a Tests group if the core and default already load 
> them?

That is not what I said :).

We often get at least two groups in a configuration:
- Core - the real code
- Tests - the associated tests

The question is what should be loaded by 'default' (this is what gets loaded 
when you do not specify anything in the dependency).

By saying 
        spec group: 'default' with: #('Core')
we say that by default we do not load tests. 

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');

I would want to favor the loading of tests by default. That is why, either we 
explicitly put the 'Tests' group in the 'default' group, 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."


Reply via email to