-
Notifications
You must be signed in to change notification settings - Fork 306
Upgrading JUnit #1342
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
Closed
Closed
Upgrading JUnit #1342
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
856e2fb
Upgrading JUnit
vitorpamplona 0626fcd
QuickFix :Common should not depend on JUnit
vitorpamplona 34b5a10
Merge branch 'master' into master
vitorpamplona 1c45498
Merge branch 'google:master' into master
vitorpamplona 11378f8
Reverting to published :common dependency
vitorpamplona cec4c28
Moving to next version of common
vitorpamplona b2779ab
Merge remote-tracking branch 'origin/HEAD' into JUnitUpgrade
vitorpamplona 8153176
Merge remote-tracking branch 'origin/HEAD' into JUnitUpgrade
vitorpamplona 511f8c3
Merge remote-tracking branch 'origin/HEAD' into JUnitUpgrade
vitorpamplona 37a91b1
Merge remote-tracking branch 'origin/HEAD' into JUnitUpgrade
vitorpamplona cd72c8e
Merge remote-tracking branch 'origin/HEAD' into JUnitUpgrade
vitorpamplona 669f3dd
Merge remote-tracking branch 'origin/HEAD' into JUnitUpgrade
vitorpamplona b190789
Merge remote-tracking branch 'origin/HEAD' into JUnitUpgrade
vitorpamplona c338d85
Merge remote-tracking branch 'origin/HEAD' into JUnitUpgrade
vitorpamplona b11a48d
Merge branch 'master' into JUnitUpgrade
vitorpamplona File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -190,24 +190,24 @@ object Dependencies { | |
const val stax = "1.0-2" | ||
const val sqlcipher = "4.5.0" | ||
const val timber = "5.0.1" | ||
const val truth = "1.0.1" | ||
const val truth = "1.1.3" | ||
const val woodstox = "4.4.1" | ||
const val xerces = "2.11.0" | ||
|
||
// Test dependencies | ||
|
||
object AndroidxTest { | ||
const val core = "1.4.0" | ||
const val core = "1.4.1-alpha05" | ||
const val archCore = "2.1.0" | ||
const val extJunit = "1.1.3" | ||
const val rules = "1.4.0" | ||
const val runner = "1.4.0" | ||
const val extJunit = "1.1.4-alpha05" | ||
const val rules = "1.4.1-alpha05" | ||
const val runner = "1.5.0-alpha02" | ||
const val fragmentVersion = "1.3.6" | ||
} | ||
|
||
const val espresso = "3.4.0" | ||
const val espresso = "3.5.0-alpha05" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here |
||
const val jacoco = "0.8.7" | ||
const val junit = "4.12" | ||
const val junit = "4.13.2" | ||
const val mockitoKotlin = "3.2.0" | ||
const val mockitoInline = "4.0.0" | ||
const val robolectric = "4.7.3" | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we not use alpha?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4.13 is not available for non-alpha versions yet. Should we wait?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All up-to-date. Should we ship with alpha testing libs? I don't see a big issue with it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't feel this ticket is a priority any more given that we resolved the dependency issue of the common lib. based on that i don't feel there's a rush to upgrade junit to 4.13. we should wait a little bit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when will we be able to use 4.13 with non-alpha versions of other libs
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, it's not urgent. The major goal for the upgrade is to get the method
assertThrows
on unit tests. It's useful because the engine throws an exception onread(id)
if it can't find the object (as opposed to returning null).Today, we have to use this verbose version:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm very surprised using public version 4.13 of junit requires using alpha versions of other libs... this seems totally wrong. is there any documentation on this? any one raised any issues?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure why it surprises you. 4.13 is a somewhat new version. The majority of AndroidX test libs are still on 4.12.