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

Document how to use JUnitRunner in 3.x #1780

Open
strowk opened this issue Feb 19, 2020 · 2 comments
Open

Document how to use JUnitRunner in 3.x #1780

strowk opened this issue Feb 19, 2020 · 2 comments

Comments

@strowk
Copy link

strowk commented Feb 19, 2020

According to documentation latest release is 3.1.0, same documentation explains how to use junit import org.scalatest.junit.JUnitRunner ( http://www.scalatest.org/user_guide/using_junit_runner ), but class org.scalatest.junit.JUnitRunner right now is not present. Documentation should explain how junit could be used in old style and in new style. There should be entry in release notes, saying what has changed and how to migrate to new way.

@tomnis
Copy link

tomnis commented Apr 15, 2020

hi @strowk maybe you figured it out already, i just ran into this myself and looks like this runner was moved to scalatestplus.junit
https://mvnrepository.com/artifact/org.scalatestplus/junit-4-12_2.12

@Riizade
Copy link

Riizade commented Oct 25, 2020

https://www.scalatest.org/user_guide/using_junit_runner
https://www.scalatest.org/user_guide/using_the_scalatest_maven_plugin

All official docs still point to the runner being in the old namespace.
This just burned 4+ hours of my time trying to get a new project set up with scalatest + Maven.
The official docs should be updated to indicate that you'll need to specify an additional dependency (org.scalatestplus.JUnit-***)

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

No branches or pull requests

3 participants