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

Update dependency net.serenity-bdd:serenity-junit to v4 #918

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 25, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
net.serenity-bdd:serenity-junit (source) 3.9.8 -> 4.2.3 age adoption passing confidence

Release Notes

serenity-bdd/serenity-core (net.serenity-bdd:serenity-junit)

v4.2.3

Compare Source

v4.2.2

Compare Source

v4.2.1

Compare Source

v4.2.0

Compare Source

v4.1.20

Compare Source

v4.1.17

Compare Source

v4.1.15

Compare Source

v4.1.14

Compare Source

v4.1.13

Compare Source

v4.1.12

Compare Source

v4.1.11

Compare Source

v4.1.10

Compare Source

v4.1.9

Compare Source

v4.1.8

Compare Source

v4.1.6

Compare Source

v4.1.5

Compare Source

v4.1.4

Compare Source

v4.1.3

Compare Source

v4.1.0

Compare Source

v4.0.48

Compare Source

v4.0.46

Compare Source

v4.0.45

Compare Source

v4.0.44

Compare Source

v4.0.43

Compare Source

v4.0.40

Compare Source

v4.0.36

Compare Source

v4.0.31

Compare Source

v4.0.30

Compare Source

v4.0.29

Compare Source

v4.0.28

Compare Source

v4.0.27

Compare Source

v4.0.26

Compare Source

v4.0.25

Compare Source

v4.0.24

Compare Source

v4.0.22

Compare Source

v4.0.21

Compare Source

v4.0.19

Compare Source

v4.0.18

Compare Source

v4.0.16

Compare Source

v4.0.15

Compare Source

v4.0.14

Compare Source

v4.0.12

Compare Source

v4.0.11

Compare Source

v4.0.8

Compare Source

v4.0.5

Compare Source

v4.0.4

Compare Source

v4.0.3

Compare Source

v4.0.2

Compare Source

v4.0.1

Compare Source

Serenity 4 Release Notes

Serenity 4.0.1 is a major upgrade. The most significant change is updating the library to support Java 11, in line with other popular testing libraries such as Selenium and Mockito. However, the migration to Java 11 requires changes in the module structure, which requires some breaking changes to the package structure.

These release notes will explain how to update your project to work with Serenity BDD 4.x.

The biggest change is the main Serenity annotations, such as @Step, which are now in the net.serenitybdd.annotations package, rather than the net.thucydides.core.annotations package as was previously the case.

If you are using Serenity internal classes, some of these may have moved as well.

The following table indicates the main changes:

Package changes

Module Old packages New Packages
serenity-screenplay-webdriver net.serenity.screenplay.* net.serenity.screenplay.webdriver.*
net.serenitybdd.screenplay.webtest.actions.* net.serenitybdd.screenplay.webdriver.actions.*
serenity-model net.serenitybdd.core.* net.serenitybdd.model.*
net.thucydides.core.annotations.* net.serenitybdd.annotations.*
Other net.thucydides.core.* net.thucydides.model.*

For example:

  • Replace any annotations previously in net.thucydides.core.annotations (e.g. @​Step) in net.serenitybdd.annotations
  • Replace net.thucydides.core.util.EnvironmentVariables with net.thucydides.model.util.EnvironmentVariables

This release also includes support for Selenium 4.11.0, a number of bug fixes, and improved support of reporting step durations for parallel tests.

Guice is no longer used

Serenity stopped using Guice in version 3.9.8. This has no impact on most test scripts, but if you are using internal classes such as net.thucydides.core.guice.Injectors classes to retrieve objects such as EnvironmentVariables, this will no longer work. In Serenity 4.0.0 or higher, to retrieve the current environment variables, use the net.serenitybdd.core.di.SerenityInfrastructure class as shown here:

EnvironmentVariables environmentVariables = SerenityInfrastructure.getEnvironmentVariables();

Report Generation Changes

In Serenity 4.0.x, test execution generates JSON test output files, but not HTML files. To generate the full HTML reports, invoke the aggregate task, e.g. mvn aggregate or gradle aggregate.

v4.0.0

Compare Source


Configuration

📅 Schedule: Branch creation - "after 7am and before 11am every weekday" in timezone Europe/London, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jul 25, 2024
@renovate renovate bot force-pushed the renovate/net.serenity-bdd-serenity-junit-4.x branch from cd67e4e to 6c4e89d Compare July 25, 2024 07:52
@renovate renovate bot force-pushed the renovate/net.serenity-bdd-serenity-junit-4.x branch from 6c4e89d to d2406f7 Compare August 17, 2024 19:33
@renovate renovate bot force-pushed the renovate/net.serenity-bdd-serenity-junit-4.x branch from d2406f7 to 67ff7e4 Compare August 27, 2024 15:26
@renovate renovate bot force-pushed the renovate/net.serenity-bdd-serenity-junit-4.x branch from 67ff7e4 to c6dd3ca Compare September 11, 2024 09:23
@hmcts-jenkins-j-to-z hmcts-jenkins-j-to-z bot requested a deployment to preview September 11, 2024 09:33 Abandoned
@renovate renovate bot force-pushed the renovate/net.serenity-bdd-serenity-junit-4.x branch from c6dd3ca to bc92b07 Compare September 12, 2024 09:30
@hmcts-jenkins-j-to-z hmcts-jenkins-j-to-z bot requested a deployment to preview September 12, 2024 09:37 Abandoned
@renovate renovate bot force-pushed the renovate/net.serenity-bdd-serenity-junit-4.x branch from bc92b07 to 5da5a13 Compare September 13, 2024 07:51
@renovate renovate bot force-pushed the renovate/net.serenity-bdd-serenity-junit-4.x branch from 5da5a13 to 3771fe3 Compare September 25, 2024 22:24
@hmcts-jenkins-j-to-z hmcts-jenkins-j-to-z bot requested a deployment to preview September 25, 2024 22:34 Abandoned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file ns:rd prd:rd rel:rd-profile-sync-pr-918
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants