Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8176173
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T23:03:50+00:00 2026-06-06T23:03:50+00:00

I have a Rebar project with a top-level release directory that just includes the

  • 0

I have a Rebar project with a top-level release directory that just includes the component applications as dependencies and contains the reltool configuration.

Some of my applications have Common Test suites in test subdirectories, and I can run those tests with rebar ct.

Now I want to create a Common Test suite for the entire release. However, when I run rebar ct skip_deps=true in the top-level directory, I just get:

Command 'ct' not understood or not applicable

How can I make Rebar run my tests?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T23:03:57+00:00Added an answer on June 6, 2026 at 11:03 pm

    Rebar has three sets of modules (see rebar.app):

    • any_dir_modules, which apply to any directory in your project;
    • app_dir modules, which apply only to directories containing files matching src/*.app.src or ebin/*.app (see rebar_app_utils:is_app_dir/1); and
    • rel_dir modules, which apply only to directories containing reltool.config or reltool.config.script (see rebar_rel_utils:is_rel_dir/1).

    The rebar_ct module, which is responsible for running Common Test, is in the app_dir category, and your top-level release directory is thus not eligible.

    You can work around this by specifying that rebar_ct is a plugin, since plugins bypass the module category mechanism. Put the following line in your rebar.config:

    {plugins, [rebar_ct]}.
    

    And you’ll get:

    $ rebar ct skip_deps=true
    ==> foo (ct)
    ==> bar (ct)
    ==> my_rel (ct)
    DONE.
    Testing src.my_rel: TEST COMPLETE, 0 ok, 0 failed of 0 test cases
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a weird problem building a release of an erlang application that I'm
I have runtime dependencies on some external jars that I would like to rejar
I have a long string that contains text. I want to extract every word
I have a program that gets the FOV angle of the device's rear-facing camera,
have 2 questions : A computer with 32-bit address uses 2-level page table (9
I have a simple camera app, that has a AVCaptureVideoPreviewLayer inside a View. I
I have a small augmented reality app that I'm developing and would like to
My app uses Mochiweb. I have noticed that Mochiweb files reside in the myapp/deps/mochiweb
Suppose I have a patch that can be applied with -p0, is there a
We have an issue that occurs from time to time. We have a web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.