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
I tend to use IntelliJ IDEA Community as java editor, especially when working with this project.
This editor does not play with junit v3.7 and requires at least v3.8 so I kindly request to update junit to this version.
I updated to v4.13 and rebuild the solution. It built without any severe problems, there are some deprecation warnings about using junit.framework.Assert class.
I don't know if the list is complete but here are some classes:
Activity
jnh5y commentedon Oct 1, 2020
Looks like 3.8.2 is the latest in the 3.x line.
Does anyone happen to know if Junit 4.x would be compatible without code changes?
mprins commentedon Oct 2, 2020
probably not but I don't recall any problems I ran into 10+ years ago switching from 3 to 4.
google is full of posts about migrating: https://www.google.com/search?hl=nl&ei=3Ox2X5G-Gsf9kwWGp7e4Dw&q=upgrade+junit+3+to+4&oq=junit+upgrade+3&gs_lcp=CgZwc3ktYWIQAxgAMgYIABAWEB46BAgAEEc6BAgAEBM6CAgAEBYQHhATUL-6AVjlvQFg_coBaABwAngAgAFbiAG0AZIBATKYAQCgAQGqAQdnd3Mtd2l6yAEIwAEB&sclient=psy-ab
FObermaier commentedon Oct 5, 2020
I updated to v4.13 and rebuild the solution. It built without any severe problems, there are some deprecation warnings about using
junit.framework.Assertclass.I don't know if the list is complete but here are some classes:
See: #609
dr-jts commentedon Oct 5, 2020
It would be nice to fix the deprecations. Any idea what a fix would be?
mprins commentedon Oct 5, 2020
I think the Assert class now lives in
org.junit.Asserthttps://junit.org/junit4/javadoc/4.13/org/junit/Assert.htmljnh5y commentedon Oct 5, 2020
@mprins Thanks! @FObermaier I tried switching the imports and it seemed to work. Here's a quick commit that does it: jnh5y@ee9975e
[-]Request to update junit to version v3.8[/-][+]Request to update junit version[/+]Update junit to v4.13 (#607) (#609)
FObermaier commentedon Oct 7, 2020
Thanks