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

WW-5334 Enable usage of junit-plugin inside velocity-plugin #732

Merged
merged 20 commits into from
Aug 19, 2023

Conversation

kusalk
Copy link
Member

@kusalk kusalk commented Aug 18, 2023

WW-5334

I extracted StrutsPortletTestCase into its own module from struts-junit-plugin to resolve the previous cyclic dependency (junit -> portlet -> velocity -> junit) which was preventing me from using struts-junit-plugin to write unit tests for struts-velocity-plugin.

See commit messages for other assorted clean up.

@kusalk kusalk requested a review from lukaszlenart August 18, 2023 12:25
@@ -65,35 +62,6 @@ public void testGetValueFromStack() throws ServletException, UnsupportedEncoding
assertEquals("FD", name);
}

@Test
public void shouldPortletContextBeAvailable() throws Exception {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These tests didn't run nor pass previously

plugins/portlet-junit/README.md Outdated Show resolved Hide resolved
plugins/portlet-junit/pom.xml Outdated Show resolved Hide resolved
@kusalk kusalk requested a review from lukaszlenart August 19, 2023 02:50
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

96.0% 96.0% Coverage
0.0% 0.0% Duplication

Copy link
Member

@lukaszlenart lukaszlenart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work 👏

@lukaszlenart lukaszlenart merged commit ea124a4 into master Aug 19, 2023
@lukaszlenart lukaszlenart deleted the WW-5334-fix-cyclic branch August 19, 2023 06:24
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

Successfully merging this pull request may close these issues.

2 participants