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

refactor: extract RunContext Executor in JobExecutor #984

Merged
merged 1 commit into from
Feb 8, 2022

Commits on Feb 8, 2022

  1. refactor: extract RunContext Executor in JobExecutor

    This splits the executor from the RunContext into its own function
    called newJobExecutor.
    We defined an interface called jobInfo which is implemented by the RunContext.
    This enables better unit testing because only a small interface needs to
    be mocked.
    
    This is a preparation for implementing pre and post actions.
    
    Co-authored-by: Björn Brauer <[email protected]>
    Co-authored-by: Marcus Noll <[email protected]>
    Co-authored-by: Jonas Holland <[email protected]>
    Co-authored-by: Robert Kowalski <[email protected]>
    Co-authored-by: Markus Wolf <[email protected]>
    6 people committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    2379855 View commit details
    Browse the repository at this point in the history