You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @Rishab87 and thanks for your interest in this!
Since you're new to the Processing codebase, I recommend starting by looking at the existing tests in processing:core (here). This should give you a sense of the structure and approach used. Feel free to ask any clarifying questions before diving into implementation.
Since this issue is quite broad and doesn’t have a clear definition of done, a good approach would be to identify a specific area that would benefit from additional tests (such as a particular class or expanding an existing test class) and open a sub-issue for it.
Let me and @Stefterv know if you need any guidance. We’re happy to help!
Hi @SableRaf , I looked at the existing tests and went through few files roughly, I think writing tests for handling key events in PApplet.java can be added or we can expand current svg tests adding tests for other features, etc.
Honestly unit tests for most of the classes can be added ig but I think the most important ones should be done first which are critical for now do you have any specific tests in mind which are must have at this point?
Hello everyone, I am highly interested in writing tests for the classes.
Although recently many conributors are working on this. Can I get clarity on which classes should I get started on?
Then I can create issues for the new ones as well as @SableRaf mentioned.
Activity
Rishab87 commentedon Mar 5, 2025
Hi I would like to take upon this issue, can this be assigned to me?
SableRaf commentedon Mar 7, 2025
Hi @Rishab87 and thanks for your interest in this!
Since you're new to the Processing codebase, I recommend starting by looking at the existing tests in processing:core (here). This should give you a sense of the structure and approach used. Feel free to ask any clarifying questions before diving into implementation.
Since this issue is quite broad and doesn’t have a clear definition of done, a good approach would be to identify a specific area that would benefit from additional tests (such as a particular class or expanding an existing test class) and open a sub-issue for it.
Let me and @Stefterv know if you need any guidance. We’re happy to help!
Rishab87 commentedon Mar 7, 2025
Hi @SableRaf , I looked at the existing tests and went through few files roughly, I think writing tests for handling key events in PApplet.java can be added or we can expand current svg tests adding tests for other features, etc.
Honestly unit tests for most of the classes can be added ig but I think the most important ones should be done first which are critical for now do you have any specific tests in mind which are must have at this point?
SableRaf commentedon Mar 7, 2025
Adding tests to handle key events sound like a good place to start!
Please make sure you keep PR(s) focused on one specific area of concern.
Rishab87 commentedon Mar 7, 2025
Sure @SableRaf , I'll keep that in mind? Should I create a new issue for it or just reference this one?
SableRaf commentedon Mar 7, 2025
Thanks for your question! Please open a new issue with a well defined scope. This way it can be closed by your PR.
Rishab87 commentedon Mar 8, 2025
I've created a new issue and will soon open a PR for it #965
Vaivaswat2244 commentedon May 19, 2025
Hello everyone, I am highly interested in writing tests for the classes.
Although recently many conributors are working on this. Can I get clarity on which classes should I get started on?
Then I can create issues for the new ones as well as @SableRaf mentioned.