镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Write Unit Tests for processing:core #880

Open

Description

@SableRaf

The processing:core library is not changing a lot, so writing tests for it first makes the most sense.

Full Description TBD

Activity

  1. converted this from a draft issue on Dec 13, 2024
  2. Rishab87 commented on Mar 5, 2025

    @Rishab87
    Contributor

    Hi I would like to take upon this issue, can this be assigned to me?

  3. SableRaf commented on Mar 7, 2025

    @SableRaf
    CollaboratorAuthor

    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!

  4. Rishab87 commented on Mar 7, 2025

    @Rishab87
    Contributor

    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?

  5. SableRaf commented on Mar 7, 2025

    @SableRaf
    CollaboratorAuthor

    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.

  6. Rishab87 commented on Mar 7, 2025

    @Rishab87
    Contributor

    Sure @SableRaf , I'll keep that in mind? Should I create a new issue for it or just reference this one?

  7. SableRaf commented on Mar 7, 2025

    @SableRaf
    CollaboratorAuthor

    Thanks for your question! Please open a new issue with a well defined scope. This way it can be closed by your PR.

  8. Rishab87 commented on Mar 8, 2025

    @Rishab87
    Contributor

    I've created a new issue and will soon open a PR for it #965

  9. Vaivaswat2244 commented on May 19, 2025

    @Vaivaswat2244
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions