Skip to content

Add some javadoc and unit tests to includesFile and excludesFile#460

Closed
imonteroperez wants to merge 7 commits intoapache:inc-exc-filesfrom
imonteroperez:surefire-1964-inc-exc-file
Closed

Add some javadoc and unit tests to includesFile and excludesFile#460
imonteroperez wants to merge 7 commits intoapache:inc-exc-filesfrom
imonteroperez:surefire-1964-inc-exc-file

Conversation

@imonteroperez
Copy link
Copy Markdown
Contributor

Following this checklist to help us incorporate your
contribution quickly and easily:

  • Make sure there is a JIRA issue filed
    for the change (usually before you start working on it). Trivial changes like typos do not
    require a JIRA issue. Your pull request should address just this issue, without
    pulling in other changes.
  • Each commit in the pull request should have a meaningful subject line and body.
  • Format the pull request title like [SUREFIRE-XXX] - Fixes bug in ApproximateQuantiles,
    where you replace SUREFIRE-XXX with the appropriate JIRA issue. Best practice
    is to use the JIRA issue title in the pull request title and in the first line of the
    commit message.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Run mvn clean install to make sure basic checks pass. A more thorough check will
    be performed on your pull request automatically.
  • You have run the integration tests successfully (mvn -Prun-its clean install).

If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.

To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

@Tibor17
Copy link
Copy Markdown
Contributor

Tibor17 commented Feb 8, 2022

Hi @imonteroperez ,

Now pls Cherry-pick mine commit and then let's work on the unit tests. We can mix those parts together in your PR.

@imonteroperez imonteroperez changed the title Add some javadoc to includesFile and excludesFile Add some javadoc and unit tests to includesFile and excludesFile Feb 21, 2022
@imonteroperez imonteroperez force-pushed the surefire-1964-inc-exc-file branch from 77e2ed7 to 343a9c0 Compare February 21, 2022 17:06
@imonteroperez imonteroperez marked this pull request as ready for review February 21, 2022 17:07
@imonteroperez
Copy link
Copy Markdown
Contributor Author

@Tibor17 I added the pending unit tests. I would propose you to review and merge this to your opened PR #440

@imonteroperez imonteroperez force-pushed the surefire-1964-inc-exc-file branch from 343a9c0 to e299bc0 Compare February 21, 2022 17:08
@imonteroperez imonteroperez force-pushed the surefire-1964-inc-exc-file branch from e299bc0 to 1b721a9 Compare February 21, 2022 22:37
@Tibor17
Copy link
Copy Markdown
Contributor

Tibor17 commented Feb 22, 2022

@imonteroperez
That's pity that you made the unit tests in the module maven-surefire-plugin and not in maven-surefire-common. The ASM class is in maven-surefire-common. The coverage cannot be measured across modules.

@Tibor17 Tibor17 self-requested a review February 22, 2022 12:15
@imonteroperez
Copy link
Copy Markdown
Contributor Author

@imonteroperez That's pity that you made the unit tests in the module maven-surefire-plugin and not in maven-surefire-common. The ASM class is in maven-surefire-common. The coverage cannot be measured across modules.

Although the ASM class is in the maven-surefire-common module, the surefire.includesFile/excludesFile are provided at SurefirePlugin on maven-surefire-plugin, so I considered (probably wrong, this is my first contribution to the project) that this should be the right place. WDYT?

@olamy
Copy link
Copy Markdown
Member

olamy commented Feb 28, 2022

@imonteroperez That's pity that you made the unit tests in the module maven-surefire-plugin and not in maven-surefire-common. The ASM class is in maven-surefire-common. The coverage cannot be measured across modules.

jacoco reports are merged in Jenkins reports.
So the coverage should be fine accros modules?

@Tibor17
Copy link
Copy Markdown
Contributor

Tibor17 commented Feb 28, 2022

@imonteroperez
Thank you very much for all your efforts. I appreciate it.
I will cherry pick it to mine branch and check the module target.

@Tibor17
Copy link
Copy Markdown
Contributor

Tibor17 commented Mar 1, 2022

@imonteroperez
I am working on it.

@asfgit asfgit force-pushed the inc-exc-files branch 2 times, most recently from f2db6ba to 8add83a Compare March 2, 2022 21:09
@Tibor17
Copy link
Copy Markdown
Contributor

Tibor17 commented Mar 3, 2022

Closed. We continue in #440 .

@Tibor17 Tibor17 closed this Mar 3, 2022
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.

3 participants