Although a bit late to the party I want to express my immense support
for this proposal. The 2 concerns you mentioned are my chief concerns
and especially among people I show Elixir as well. So there is a big
:+1: for this.
Not a huge fan of group/bundle - still very much like describe/context.
`describe` for `describe "MyModule.fun"` and context for `context "admin"`.
Glad to see ExUnit is taking this direction!
Tobi
On 05/28/2016 01:47 PM, Drew Olson wrote:
> José -
>
> Thanks for the clarification, I should have read more closely.
>
> I understand the argument against nested setups and think stopping folks
> from using them is a good idea. That said, I often find nested groups
> useful in grouping subsets of functionality within a given function
> (just from an organizational / naming perspective).
>
> Either way, this is a huge improvement.
>
> Thanks.
>
> On Saturday, May 28, 2016, José Valim <
jose....@plataformatec.com.br
> <mailto:
jose....@plataformatec.com.br>> wrote:
>
> Thank you Drew. The reason for not support nesting was mentioned in
> the initial proposal. We want to push developers to compose setups
> by building functions (hence the support for setup :some_code)
> instead of relying on hierarchies.
>
>
>
> *José Valim*
>
www.plataformatec.com.br <
http://www.plataformatec.com.br/>
> Skype: jv.ptec
> Founder and Director of R&D
>
> On Sat, May 28, 2016 at 1:26 PM, Drew Olson <
dr...@drewolson.org
> <javascript:_e(%7B%7D,'cvml','
dr...@drewolson.org');>> wrote:
>
> This is looking good, I like "bundle". Any specific reason
> to not support nesting?
>
> Thanks!
> Drew
>
>
> On Saturday, May 28, 2016, José Valim
> <
jose....@plataformatec.com.br
> <javascript:_e(%7B%7D,'cvml','
jose....@plataformatec.com.br');>>
> *José Valim*
>
www.plataformatec.com.br <
http://www.plataformatec.com.br/>
> Skype: jv.ptec
> Founder and Director of R&D
>
> On Sat, May 28, 2016 at 8:53 AM, José Valim
> <
jose....@plataformatec.com.br> wrote:
>
> Thanks everyone for the feedback so far.
>
> It is very likely we won't go with the term "group". It
> is an overloaded term and given the direction we are
> taking with GenStage and GenBroker, I wouldn't be
> surprised if we end-up adding Kernel.group/2 or
> something similar in the future. Group or group by is an
> essential in many collection handling operations and
> there is nothing specific to test in "group".
>
> Here are other suggestions that came up: "grouping",
> "bundle", "test_group".
>
>
>
> *José Valim*
>
www.plataformatec.com.br <
http://www.plataformatec.com.br/>
> *José Valim*
>
www.plataformatec.com.br
> <
http://www.plataformatec.com.br/>
> <
https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4L6iRmHzfjQmXn0vTC0E%2B3gW1%3Drqj_eett1YvCfwOrXAg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> <javascript:_e(%7B%7D,'cvml','
elixir-lang-core%2Bunsu...@googlegroups.com');>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/elixir-lang-core/CAN3B1jdTD3nO6So_YD-aVkN6Hfc7dCBajnpfMbjoj0RSJtpMLQ%40mail.gmail.com
> <
https://groups.google.com/d/msgid/elixir-lang-core/CAN3B1jdTD3nO6So_YD-aVkN6Hfc7dCBajnpfMbjoj0RSJtpMLQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> <javascript:_e(%7B%7D,'cvml','
elixir-lang-core%2Bunsu...@googlegroups.com');>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4%2BOCkrn%2Bq588%2Bc8DD%2BuHbAbwFO79BZhoCXczYrXZ9UUrA%40mail.gmail.com
> <
https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4%2BOCkrn%2Bq588%2Bc8DD%2BuHbAbwFO79BZhoCXczYrXZ9UUrA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> <mailto:
elixir-lang-co...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/elixir-lang-core/CAN3B1jdZbRKYRUSYzfNPvZJnyvr0HyqfrgFNHp6CeHnFDhbN8g%40mail.gmail.com
> <
https://groups.google.com/d/msgid/elixir-lang-core/CAN3B1jdZbRKYRUSYzfNPvZJnyvr0HyqfrgFNHp6CeHnFDhbN8g%40mail.gmail.com?utm_medium=email&utm_source=footer>.