Skip to content

CLITest for testing CLI commands in Processing IDE #1161

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Stefterv
Copy link
Collaborator

@Stefterv Stefterv commented Jun 28, 2025

Easily run Processing command line arguments from IntelliJ IDEA

Screenshot 2025-06-28 at 10 38 29

Introduces a new Kotlin test class, CLITest, to facilitate running and testing CLI commands of the Processing IDE directly from the IDE. This allows for easier and faster development and debugging of CLI features without manual command line invocation.
@Stefterv
Copy link
Collaborator Author

@toniab Is this something that would have helped your work on #1162 ?

@Stefterv Stefterv requested a review from toniab June 28, 2025 09:55
Copy link

@toniab toniab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! This works and is easier than having to edit run config.
Is the idea that contributors could replace the arguments there to whatever I want for my testing purposes (and they would make sure not to push their changes to that line?)

Should we mention this testing functionality in the build or contribute .md's? Do people go to app > test > for other things already?

toniab added a commit to toniab/processing4 that referenced this pull request Jul 4, 2025
CLITest explanation to go along with PR processing#1161
@toniab toniab mentioned this pull request Jul 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants