For sure, I knew about it because I learned from there actually. I love to 
have a more declarative way to express the intention, I feel we could 
embrace sharing TestSupport files more often if it was easy enough to do 
so. You got the idea, not sure what the direction should be, I trust you on 
that one.

On Saturday, August 14, 2021 at 3:25:25 AM UTC-4 Wojtek Mach wrote:

> On August 14, 2021, "gmail.com" <yordis...@gmail.com> wrote:
>
> I was about to create another thread kind of related to this, please my 
> apologies if I misunderstood.
>
> Recently I started working on a package, and I wanted to share as part of 
> the package a lot of TestSupport codes that people would take advantage of 
> in testing. So the dilemma I am having is where to put that TestSupport 
> files:
>
>
> This is something that ecto_sql does too. :) See 
> https://github.com/elixir-ecto/ecto_sql/blob/v3.6.2/integration_test/pg/all_test.exs#L1:L2.
>  
> Notice we _require_ the files to compile them, they are not compiled 
> because they are not in the `elixirc_path` by default. You just need to 
> remember to include integration test stuff in your package: 
> https://github.com/elixir-ecto/ecto/blob/v3.6.0/mix.exs#L49. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/73c6a22c-4e32-4390-ac56-66579c0b7e8dn%40googlegroups.com.

Reply via email to