sbt / sbt/sbt-eclipse

sbteclipse does not create <classpathentry kind="src" ...> for "it" and "e2e" test directories

Open
#324 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
712
Forks
163
PR merge metrics
No merged PRs in 30d

Description

I have created special folders and sbt tasks for integration tests and end-to-end tests, following these instructions: https://orrsella.com/2014/09/24/integration-and-end-to-end-test-configurations-in-sbt-for-scala-java-projects/ .

I expected sbteclipse to automatically add

  <classpathentry kind="src" path="src/it/scala"/>
  <classpathentry kind="src" path="src/e2e/scala"/>

to .classpath. But it didn't. I had to add this information manually.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked sbt integration and end-to-end test configuration instructions and the generated .classpath. Reproduce the setup with src/it/scala and src/e2e/scala, then trace how sbteclipse discovers test directories; done means both paths appear as kind="src" classpath entries without manual edits.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.