Skip to content

Test Command doesn't support custom output path #682

Closed

Description

@JonCubed

1. Problem

There is currently no way to specify a custom output-path while running ng test, ember-cli supports --path and ng test --help also lists the flag as available however when you run it with flag you get

The option '--path' is not registered with the test command. Run `ng test --help` for a list of supported options.

The dist/ folder is also hard-coded in angular-cli test command.

I am using ASP.NET Core which expects public files to be in wwwroot/, I am currently building to wwwroot/ using .ember-cli with "output-path"

2. What I expect to see

Using a flag in cli I should be able to specify a custom output-path, also I should be able to set a default in .angular-cli to use instead of dist/

3. How to resolve it
I think test command would need to be updated to accept flag and get value from angular-cli.json. angular-cli.json schema would also need to be updated

I've made a pull request of what I think would probably need to change #681

Activity

  1. self-assigned this
    on May 13, 2016
  2. filipesilva commented on Jun 4, 2016

    @filipesilva
    Contributor

    Closed in favor of #817

  3. added a commit that references this issue on Jun 5, 2018
    c60517d
  4. added a commit that references this issue on Jun 6, 2018
    cd3c3d7
  5. angular-automatic-lock-bot commented on Sep 5, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  6. locked and limited conversation to collaborators on Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P5The team acknowledges the request but does not plan to address it, it remains open for discussioneffort2: medium (days)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions