Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run with zero config #1141

Open
jason0x43 opened this issue Apr 14, 2020 · 0 comments · May be fixed by #1206
Open

Run with zero config #1141

jason0x43 opened this issue Apr 14, 2020 · 0 comments · May be fixed by #1206
Labels
effort-low Should be pretty quick enhancement A new or improved feature priority-high Most important

Comments

@jason0x43
Copy link
Member

Intern should be runnable with no configuration. When no config is provided, the suites list should use a default value, and the node environment should be used.

Currently, Intern only requires a minimal config to run:

{
  "suites": "tests/**/*.js"
}

We can eliminate even that need by defaulting the suites list to a value that would handle many common situations, like:

  ["tests/**/*.ts", "src/**/*.spec.ts"]

The extension could be chosen based on the presence of a tsconfig file in the project root / cwd.

If an intern.json file is added to a project, any zero-config behaviors should be disabled.

@jason0x43 jason0x43 added enhancement A new or improved feature effort-low Should be pretty quick priority-high Most important labels Apr 14, 2020
@jason0x43 jason0x43 added this to To do in Intern 5 via automation Apr 14, 2020
@github-actions github-actions bot added this to To do in Development Apr 14, 2020
@github-actions github-actions bot moved this from To do to In progress in Intern 5 Apr 14, 2020
@jason0x43 jason0x43 moved this from In progress to To do in Intern 5 Apr 16, 2020
@jason0x43 jason0x43 moved this from To do to In progress in Intern 5 Apr 16, 2020
@jason0x43 jason0x43 moved this from In progress to To do in Intern 5 Apr 16, 2020
@jason0x43 jason0x43 self-assigned this Apr 16, 2020
@github-actions github-actions bot moved this from To do to In progress in Development Apr 16, 2020
@github-actions github-actions bot moved this from To do to In progress in Intern 5 Apr 16, 2020
@jason0x43 jason0x43 removed their assignment Apr 16, 2020
@github-actions github-actions bot moved this from In progress to To do in Development Apr 16, 2020
@github-actions github-actions bot moved this from In progress to To do in Intern 5 Apr 16, 2020
abolfazlghalandary added a commit to abolfazlghalandary/intern that referenced this issue Jan 10, 2023
@abolfazlghalandary abolfazlghalandary linked a pull request Jan 10, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort-low Should be pretty quick enhancement A new or improved feature priority-high Most important
Projects
Intern 5
  
To do
Development

Successfully merging a pull request may close this issue.

1 participant