Skip to content

Refactor JenkinsJobRunner to allow unit testing#54

Merged
null511 merged 1 commit intonull511:masterfrom
myarichuk:fix/make-jobrunner-testable-and-accept-interfaces
May 9, 2025
Merged

Refactor JenkinsJobRunner to allow unit testing#54
null511 merged 1 commit intonull511:masterfrom
myarichuk:fix/make-jobrunner-testable-and-accept-interfaces

Conversation

@myarichuk
Copy link
Contributor

In order to properly unit test code that relies on the library, I would like to adjust the JenkinsJobRunner to accept an interface, thus allowing the whole flow that uses it to be mockable.

… mock (so it uses interface and not concrete class)
@null511
Copy link
Owner

null511 commented May 9, 2025

I haven't worked on this in quite a while, but looks like a good change; not sure how I missed that. Going to blindly merge without testing now 👍

@null511 null511 merged commit b76c136 into null511:master May 9, 2025
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