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 self-assigned this Apr 16, 2020
@jason0x43 jason0x43 removed their assignment 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
None yet
Development

Successfully merging a pull request may close this issue.

1 participant