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

[java] Migrate base for Closure tests to JUnit Jupiter (JUnit 5) #10786

Merged
merged 3 commits into from
Jun 20, 2022

Conversation

bonigarcia
Copy link
Member

Description

The JavaScript build contains a set of Closure tests (HTML + JavaScript) that are executed through Selenium and Java. These tests were based originally on JUnit 4. This PR migrates the test base required for that tests to JUnit 5, using dynamic tests (that use the set of HTML file to generate dynamically the Closure tests).

Motivation and Context

Migration of Java tests to JUnit 5 (issue #10196).

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the contributing document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@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 3 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Member

@diemol diemol left a comment

Choose a reason for hiding this comment

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

Thank you, @bonigarcia!

@diemol diemol merged commit 43361aa into SeleniumHQ:trunk Jun 20, 2022
elgatov pushed a commit to elgatov/selenium that referenced this pull request Jun 27, 2022
…eniumHQ#10786)

* [java] Migrate based for Closure tests to Jupiter (JUnit 5)

Part of the migration of Java tests to JUnit 5 (issue SeleniumHQ#10196).

* Include SHA for bazel-contrib/rules_jvm

* [java] smell-fix: DriverSupplier is always an instance of Closeable
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