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

Flag loadClasses is not used in yaml suite parsing #2689

Closed
dsankouski opened this issue Dec 7, 2021 · 1 comment
Closed

Flag loadClasses is not used in yaml suite parsing #2689

dsankouski opened this issue Dec 7, 2021 · 1 comment
Milestone

Comments

@dsankouski
Copy link
Contributor

dsankouski commented Dec 7, 2021

TestNG Version 7.4

Parse yaml suite with non-existent classes, and with loadClasses flag set to false

Expected behavior

Suite is successfully parsed, because test class loading is skipped

Actual behavior

Suite parsing fails with Cannot find class in classpath... error message

This is because loadClasses flag is not used in org.testng.internal.YamlParser#parse method.

@krmahadevan krmahadevan added this to the 7.5.0 milestone Dec 7, 2021
@krmahadevan
Copy link
Member

Fixed and closed by #2688

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

2 participants