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

Remove dependency of reflection for TestNG #1112

Closed
wants to merge 1 commit into from

Conversation

krmahadevan
Copy link

The PaxExam listener makes use of reflection
to disable configuration methods.

This is NOT needed because the TestNG API has
Provided setters via which these can be set.

The reason why this change is required is because
TestNG in its upcoming version is going to be
Changing the data type of these two attributes
viz “m_beforeTestMethods” and “m_afterTestMethods”

The PaxExam listener makes use of reflection
to disable configuration methods. 

This is NOT needed because the TestNG API has 
Provided setters via which these can be set.

The reason why this change is required is because
TestNG in its upcoming version is going to be 
Changing the data type of these two attributes 
viz “m_beforeTestMethods” and “m_afterTestMethods”
@krmahadevan
Copy link
Author

Note: I tried to sign up to jira to log a ticket, but I am having difficulties with it.

I see this error (it looks like I still need to get permission for this project in jira)

image

@oliverlietz oliverlietz added this to the 4.14.0 milestone Mar 21, 2024
@oliverlietz oliverlietz self-assigned this Mar 21, 2024
@oliverlietz
Copy link
Member

@krmahadevan, Thanks! All OPS4J projects switched from Jira to GitHub Issues.

@krmahadevan
Copy link
Author

@oliverlietz - Ah ok! I was referring to the instructions detailed here which said need Jira ticket.

Please let me know if we need a github issue for this PR because it's not fixing anything but just changing how the listener interacts with TestNG. For an end user it shouldn't really matter because the functionality would still remain the same.

@krmahadevan
Copy link
Author

ping @oliverlietz - Can you please let me know if there's anything pending from my side that needs to be completed so that this PR can be merged?

@oliverlietz
Copy link
Member

@krmahadevan, In future, please create a GitHub issue, follow the Boy Scout Rule and sign your commits. I've incorporated your patch as part of #1117. Thanks!

@oliverlietz oliverlietz closed this Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants