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

Add a download link to the JUnit 5 home page #1737

Closed
2 tasks
smoyer64 opened this issue Jan 17, 2019 · 12 comments
Closed
2 tasks

Add a download link to the JUnit 5 home page #1737

smoyer64 opened this issue Jan 17, 2019 · 12 comments

Comments

@smoyer64
Copy link
Contributor

smoyer64 commented Jan 17, 2019

As noted in #1587, the JUnit 5 home page doesn't provide a link to the compiled JARs like JUnit 4's page did. For the rare user that's not using a dependency management tool with defined repositories, this will give them a place to start their dependency hell.

Deliverables

  • Add a "Download JARs" link to the "Resources" section of https://junit.org/junit5/ that points to the latest release JARs.
  • Add "Download JAR" links to the README in this repository.
@sbrannen
Copy link
Member

Thanks for raising the issue.

I'll add a deliverable for the README in this repository as well.

@ifrh
Copy link

ifrh commented Mar 7, 2019

I am one of those users whose development environment doesn't use a dependency management tool.
The package manager of my linux distribution cannot install Junit5, too - because I cannot find any deb-Package - unlike for junit3 or junit4. (see #1587 (comment) and https://stackoverflow.com/questions/55053110/junit5-as-deb-package-for-debian-or-ubuntu )

@smoyer64
Copy link
Contributor Author

smoyer64 commented Mar 8, 2019

I never even realized there was a .deb package for JUnit ... but when I search for it, it does indeed show up!

p   jmeter-junit                                        - Load testing and performance measurement application (junit mo
p   junit                                               - Automated testing framework for Java                          
p   junit-doc                                           - Document for JUnit                                            
i A junit4                                              - JUnit regression test framework for Java                      
p   junit4-doc                                          - JUnit regression test framework for Java - documentation      
p   libjunitperf-java                                   - JUnit extensions for performance and scalability testing      
p   libjunitperf-java-doc                               - Documentation for libjunitperf-java                           
p   libtap-formatter-junit-perl                         - Perl module for converting TAP output to JUnit XML output     
p   python-junit.xml                                    - creates JUnit XML test result docs readable by tools such as J
p   python-junitxml                                     - PyUnit extension for reporting in JUnit compatible XML        
p   python3-junit.xml                                   - creates JUnit XML test result docs readable by tools such as J
p   python3-junitxml                                    - PyUnit extension for reporting in JUnit compatible XML   

@smoyer64
Copy link
Contributor Author

smoyer64 commented Mar 8, 2019

@ifrh This link provides a very old example of how to run junit from the CLI - https://github.com/selesy/junit5/blob/b427e1177716bebfd80147c92a400c70bb4c95a0/documentation/run-example-tests-via-console.sh. Please note that the package names and hierarchy have changed but the console package continues to provide an executable JAR. The trick will be to get everything necessary on the classpath - this was easier before JUnit since there was only one JAR.

I personally don't expect to ever write another .deb package - will your system install snap packages? From one of the linked comments you seem to be on the latest Ubuntu LTS so would you also be will to describe your development environment?

@sbrannen sbrannen added this to the 5.5 M2 milestone Mar 8, 2019
@sbrannen
Copy link
Member

sbrannen commented Mar 8, 2019

Tentatively slated for 5.5 M2 for team discussion

@ifrh
Copy link

ifrh commented Mar 8, 2019

@smoyer64 Sure, I'll describe my development environment. It is a django based webapplication called Praktomat. I want to add JUnit5 support to Praktomat, like there exists support for junit3 and junit4:
https://github.com/ifrh/Praktomat/blob/master/src/checker/checker/JUnitChecker.py#L50

@marcphilipp
Copy link
Member

@ifrh @smoyer64 Would this be sufficient?

Screenshot 2019-03-09 at 13 32 13

@ifrh
Copy link

ifrh commented Mar 9, 2019

@marcphilipp I would like to have an direct link usable without JavaScript and a link to a junit5-console-standalone.jar . And a notice is needed what jars should be downloaded if you want to start JUnit5 directly from console.

@marcphilipp
Copy link
Member

marcphilipp commented Mar 9, 2019

I don't think we should include such a notice on the homepage. There are too many different use cases. Please keep in mind that your use case is not as typical as you might think. Most users use a build tool and rely on its dependency management functionality.

How to use the ConsoleLauncher is part of the user guide: https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher

Maybe we can think of a way to make that more discoverable?

@sormuras
Copy link
Member

https://javadoc.jitpack.io/com/github/sormuras/bach/master-99cefd9f29-1/javadoc/Bach.Action.html
image

Note: the links point to 5.5-M1 at the moment, but they should point to latest GA version, which is 5.4.1.

@marcphilipp marcphilipp modified the milestones: 5.5 M2, 5.5 Backlog Apr 18, 2019
@stale
Copy link

stale bot commented May 13, 2021

This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. Thank you for your contribution.

@stale stale bot added the status: stale label May 13, 2021
@stale
Copy link

stale bot commented Jun 3, 2021

This issue has been automatically closed due to inactivity. If you have a good use case for this feature, please feel free to reopen the issue.

@stale stale bot closed this as completed Jun 3, 2021
@marcphilipp marcphilipp removed this from the 5.8 Backlog milestone Jun 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants