On August 14, 2021, "gmail.com" <yordis.pri...@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/ab02030e9def3133437afddfcdad6d6d0d9e7488%40hey.com.

Reply via email to