Skip to content

Conversation

@wyrzyk
Copy link
Contributor

@wyrzyk wyrzyk commented Mar 3, 2020

No description provided.

@wyrzyk wyrzyk requested a review from a team March 3, 2020 13:23

/**
* Installs browser and WebDriver. See [Chrome] or [com.atlassian.performance.tools.infrastructure.api.browser.chromium.Chromium69].
* Browser must provide public no-args constructor.
Copy link
Contributor

Choose a reason for hiding this comment

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

They don't have to provide public constructor.
We only require this no-arg stuff, where we're forced to use reflection, that is in a cross-JVM communication between the local JVM and the remote VU JVMs. So only the VU SPIs require the nullary constructor.

[Unreleased]: https://github.com/atlassian/infrastructure/compare/release-4.14.5...master

### Added
- `com.atlassian.performance.tools.infrastructure.api.browser.Browser` KDocs.
Copy link
Contributor

Choose a reason for hiding this comment

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

Technically it adds behavioral contracts:

  • Browser has to install WebDriver (we don't need this contract IMHO)
  • SshConnection targets Ubuntu - this one is critical for implementors, so we need it

Copy link
Contributor

Choose a reason for hiding this comment

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

@dagguh Are you suggesting this should be explicitly stated in the changelog?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, that's the diff.
I wanna empathize with lib consumers. As a consumer of a lib, I'm gonna look for useful stuff, e.g. "since when can I rely on it being Ubuntu?". Not gonna look for "when did KDocs appear"?

Docs themselves are a standalone description and changelog is a series of human-level diffs.

@dagguh dagguh requested a review from a team March 3, 2020 15:19
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.

3 participants