Skip to content
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

Fixes #151: org.junit.runner.Description.fAnnotations array is null with junitparams parameterized junit tests #158

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kompacher
Copy link

@kompacher kompacher commented Sep 18, 2018

This PR should reproduce and fix the issue described in #151. Looking forward for your feedback.

@kompacher kompacher changed the title Fixes org.junit.runner.Description.fAnnotations array is null with junitparams parameterized junit tests Fixes #158: org.junit.runner.Description.fAnnotations array is null with junitparams parameterized junit tests Sep 18, 2018
@kompacher
Copy link
Author

The broken build has nothing to to with this PR. It is caused by the discontinued support of some older TLS versions:
https://central.sonatype.org/articles/2018/May/04/discontinued-support-for-tlsv11-and-below/?__hstc=31049440.01d70cd8a123efa2827db80259ca61bf.1530207152503.1530231885049.1534984717854.3&__hssc=31049440.1.1534984717854&__hsfp=2725607461

This should be fixed on a separate branch.

@kompacher kompacher changed the title Fixes #158: org.junit.runner.Description.fAnnotations array is null with junitparams parameterized junit tests Fixes #151: org.junit.runner.Description.fAnnotations array is null with junitparams parameterized junit tests Sep 20, 2018
@kompacher
Copy link
Author

Dear @woprzech,

did you have some time to review this pull request?

vinaysshenoy pushed a commit to simpledotorg/simple-android that referenced this pull request Mar 3, 2020
The main dependency has a bug where annotations added on test methods
are not forwarded to any test rules (Pragmatists/JUnitParams#151),
which breaks the `ExpectedUnsubscribed` annotation used for hinting to
the `RxErrorsRule` that we expect a certain number of `Completable`
instances to not be subscribed to.

There is a PR to fix it (Pragmatists/JUnitParams#158),
but this has been inactive for over a year, so I forked the repository
and applied the fix myself and published it via Jitpack.
@vinaysshenoy
Copy link

I forked the repository, applied the fix myself and published it via Jitpack.

Repository: https://github.com/vinaysshenoy/JUnitParams
Release: https://github.com/vinaysshenoy/JUnitParams/releases/tag/1.1.2
Maven artifact: https://jitpack.io/#vinaysshenoy/JUnitParams/1.1.2

vinaysshenoy pushed a commit to simpledotorg/simple-android that referenced this pull request Mar 3, 2020
The main dependency has a bug where annotations added on test methods
are not forwarded to any test rules (Pragmatists/JUnitParams#151),
which breaks the `ExpectedUnsubscribed` annotation used for hinting to
the `RxErrorsRule` that we expect a certain number of `Completable`
instances to not be subscribed to.

There is a PR to fix it (Pragmatists/JUnitParams#158),
but this has been inactive for over a year, so I forked the repository
and applied the fix myself and published it via Jitpack.
vinaysshenoy pushed a commit to simpledotorg/simple-android that referenced this pull request Mar 3, 2020
The main dependency has a bug where annotations added on test methods
are not forwarded to any test rules (Pragmatists/JUnitParams#151),
which breaks the `ExpectedUnsubscribed` annotation used for hinting to
the `RxErrorsRule` that we expect a certain number of `Completable`
instances to not be subscribed to.

There is a PR to fix it (Pragmatists/JUnitParams#158),
but this has been inactive for over a year, so I forked the repository
and applied the fix myself and published it via Jitpack.
vinaysshenoy pushed a commit to simpledotorg/simple-android that referenced this pull request Mar 10, 2020
The main dependency has a bug where annotations added on test methods
are not forwarded to any test rules (Pragmatists/JUnitParams#151),
which breaks the `ExpectedUnsubscribed` annotation used for hinting to
the `RxErrorsRule` that we expect a certain number of `Completable`
instances to not be subscribed to.

There is a PR to fix it (Pragmatists/JUnitParams#158),
but this has been inactive for over a year, so I forked the repository
and applied the fix myself and published it via Jitpack.
vinaysshenoy pushed a commit to simpledotorg/simple-android that referenced this pull request Mar 19, 2020
The main dependency has a bug where annotations added on test methods
are not forwarded to any test rules (Pragmatists/JUnitParams#151),
which breaks the `ExpectedUnsubscribed` annotation used for hinting to
the `RxErrorsRule` that we expect a certain number of `Completable`
instances to not be subscribed to.

There is a PR to fix it (Pragmatists/JUnitParams#158),
but this has been inactive for over a year, so I forked the repository
and applied the fix myself and published it via Jitpack.
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