Using Rebar3 how to use Common Test so it places the beam files in _build section not test folder?

185 Views Asked by At

When I use rebar3 with Common test as follows: rebar3 ct it compiles (generates beam files for) all my code into the test folder. Everything works but less than ideal. How do I have it place them in the _build/test/MyApp/ebin section? Eunit does this great, but Common Test does not.

Project Layout:

MyApp/
    apps/
       MyApp/
          include/
          priv/
          src/
          test/
              ct/
              eunit/

I want the beams to go into the _build section like eunit does:

MyApp/
   _build/
      test/
       lib/
         MyApp/
            ebin/

My Common Test logs folder is going into the _build/test/logs which is cool. Please let me know what I'm missing.

0

There are 0 best solutions below