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

Clean up/complete tests #6

Open
glassfishrobot opened this issue Apr 6, 2013 · 13 comments
Open

Clean up/complete tests #6

glassfishrobot opened this issue Apr 6, 2013 · 13 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed Priority: Major

Comments

@glassfishrobot
Copy link

Integrate Arquillian/GlassFish Embedded/Weld EE/Weld SE as needed.

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
Reported by reza_rahman

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
Was assigned to reza_rahman

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
This issue was imported from java.net JIRA CARGOTRACKER-6

@glassfishrobot
Copy link
Author

@thadumi
Copy link
Member

thadumi commented Jun 15, 2020

@m-reza-rahman this can be close. After I'll do some test with the embedded we can discuss again about adding it or not

@m-reza-rahman
Copy link
Contributor

To be honest, our tests are very inadequate for a reference project. We definitely need to improve that. However, this can be done after the Jakarta EE 9 release.

Reza Rahman
Jakarta EE Ambassador, Author, Blogger, Speaker

Please note views expressed here are my own as an individual community member and do not reflect the views of my employer.

@m-reza-rahman m-reza-rahman added backlog Items yet to be prioritized in the longer term roadmap. good first issue Good for newcomers help wanted Extra attention is needed and removed ERR: Assignee Priority: Critical Type: New Feature labels Jun 17, 2020
@thadumi thadumi added this to the jee8 milestone Oct 3, 2020
@m-reza-rahman
Copy link
Contributor

Looks like Arquillian now supports JUnit 5. We should upgrade when we can.

Reza Rahman
Jakarta EE Ambassador, Author, Blogger, Speaker

Please note views expressed here are my own as an individual community member and do not reflect the views of my employer.

@m-reza-rahman m-reza-rahman added enhancement New feature or request Priority: Major labels Nov 16, 2020
@thadumi thadumi mentioned this issue Nov 17, 2020
@m-reza-rahman m-reza-rahman removed this from the jakartaee8 milestone Nov 29, 2020
@m-reza-rahman m-reza-rahman removed their assignment Nov 30, 2020
@m-reza-rahman m-reza-rahman removed the backlog Items yet to be prioritized in the longer term roadmap. label Jan 4, 2021
@yashTEF
Copy link
Contributor

yashTEF commented Mar 9, 2023

@m-reza-rahman and @glassfishrobot, What are the deliverables for this, would we need to adopt junit 5 style in integration tests and adding JMeter tests for stress testing etc.

I can take this up but would need some help.

@m-reza-rahman
Copy link
Contributor

m-reza-rahman commented Mar 9, 2023

We cannot upgrade to JUnit 5 until the Jakarta EE 10 update is done. There is a separate issue for that. Similarly, there is a separate issue for JMeter. There are two aspects of the work on this issue:

  • Looking at the current tests to clean them up.
  • Evaluate whether we have an adequate amount of tests. If we don’t, add more tests.

Note that while I can offer some help, this is not a simple task by any stretch of the imagination. It requires a very self motivated individual with a relatively high proficiency level. I would say in academic terms, this is for someone that routinely gets A+’s on their 200/300 level CS courses. There is simpler work to pick up.

@m-reza-rahman m-reza-rahman changed the title Clean up/complete unit tests Clean up/complete JUnit tests Sep 24, 2023
@m-reza-rahman m-reza-rahman removed the good first issue Good for newcomers label Dec 20, 2023
@m-reza-rahman m-reza-rahman added the good first issue Good for newcomers label Jan 16, 2024
@karianna
Copy link

karianna commented Oct 3, 2024

Looks like JUnit 5 support is in, can this be closed or is it more a case of adding more tests for functional gaps? I can try to run the jacoco coverage tests if that would help

@m-reza-rahman
Copy link
Contributor

There are huge gaps. I would say our coverage is maybe 5-10%. Someone needs to analyze carefully and chart out how we sensibly improve test coverage.

@karianna
Copy link

karianna commented Oct 3, 2024

image

Jacoco coverage stats as of tip today.

@m-reza-rahman
Copy link
Contributor

~25% is a lot higher than what I thought. As I said though, we really can't rely on these tests for stability/regression. It'll probably be a very long time before we can. This is an area where longer term contribution from at least one dedicated person would really help.

@m-reza-rahman m-reza-rahman changed the title Clean up/complete JUnit tests Clean up/complete tests Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed Priority: Major
Projects
None yet
Development

No branches or pull requests

5 participants