microsoft / microsoft/copilot-for-eclipse
Run JUnit and Compile Task/Skill using Eclipse's compilation settings and dependencies
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 126
- Forks
- 60
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 5
Description
Copilot often compiles and runs JUnit test code using a Run In Terminal task/skill and benefits greatly from this by going back and forth with the unit tests failing sometimes a dozen times until it gets the tests right (relatable haha). This works very well for simple projects or once it figures out the compilation settings and JUnit invocation settings, dependencies, locations of source folders, the JUnit jar files internal to Eclipse, and source release targets and etc.c., often with a little manual help from me.
To me, this only feature missing for Copilot to be utterly amazing for complex coding projects beyond just little demos or purely source code editing without running tests to verify its own changes in existing mature projects.
There could be a Build Project task and a Run All JUnit Tests In Project task, upon which the plugin invokes directly within Eclipse.
This would also reduce the number of Run In Terminal tasks needed which are always a little concerning for a remote server to be running on your own machine even if you do vet its command strings. A Build Project task would need no security vetting, much like the Get Errors task right now, and the proposed Run JUnit task would be as secure or insecure as running the project's source code already is anyway.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing Run In Terminal task/skill and the Get Errors task, which the issue identifies as relevant integration points. Then determine how Eclipse compilation settings, dependencies, source folders, release targets, and JUnit invocation are exposed. Done means the scope and behavior of Build Project and Run All JUnit Tests In Project tasks are defined, including their security boundaries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system, testing-qa, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100