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

Consider factoring up shared partitioning & caching/invalidation code from JUnitRun and PytestRun #5307

Closed
jsirois opened this issue Jan 10, 2018 · 0 comments
Assignees

Comments

@jsirois
Copy link
Contributor

jsirois commented Jan 10, 2018

Right now both of these tasks partition, invalidate & cache and report in very similar manners. Much code could be shared.

@jsirois jsirois self-assigned this Jan 28, 2018
jsirois added a commit to jsirois/pants that referenced this issue Jan 30, 2018
In addition to simplifying some code this helps pull `JUnitRun` into the
same shape as `PytestRun` to allow factoring out their shared and tricky
code supporting `--fast`/`--no-fast` and `--chroot` options.

Work towards pantsbuild#5073 and pantsbuild#5307.
jsirois added a commit to jsirois/pants that referenced this issue Jan 30, 2018
In addition to simplifying some code this helps pull `JUnitRun` into the
same shape as `PytestRun` to allow factoring out their shared and tricky
code supporting `--fast`/`--no-fast` and `--chroot` options.

Work towards pantsbuild#5073 and pantsbuild#5307.
jsirois added a commit to jsirois/pants that referenced this issue Feb 1, 2018
This factors the handling of `--fast`/`--no-fast` partitioning as well
as the attendant results summarization and caching and invalidation
handling to a mixin that `PytestRun` and `JUnitRun` share.

Fixes pantsbuild#5307
jsirois added a commit to jsirois/pants that referenced this issue Feb 1, 2018
This factors the handling of `--fast`/`--no-fast` partitioning as well
as the attendant results summarization and caching and invalidation
handling to a mixin that `PytestRun` and `JUnitRun` share.

Fixes pantsbuild#5307
jsirois added a commit to jsirois/pants that referenced this issue Feb 1, 2018
In addition to simplifying some code this helps pull `JUnitRun` into the
same shape as `PytestRun` to allow factoring out their shared and tricky
code supporting `--fast`/`--no-fast` and `--chroot` options.

Work towards pantsbuild#5073 and pantsbuild#5307.
jsirois added a commit to jsirois/pants that referenced this issue Feb 1, 2018
This factors the handling of `--fast`/`--no-fast` partitioning as well
as the attendant results summarization and caching and invalidation
handling to a mixin that `PytestRun` and `JUnitRun` share.

Fixes pantsbuild#5307
jsirois added a commit that referenced this issue Feb 1, 2018
In addition to simplifying some code this helps pull `JUnitRun` into the
same shape as `PytestRun` to allow factoring out their shared and tricky
code supporting `--fast`/`--no-fast` and `--chroot` options.

Work towards #5073 and #5307.
jsirois added a commit to jsirois/pants that referenced this issue Feb 1, 2018
This factors the handling of `--fast`/`--no-fast` partitioning as well
as the attendant results summarization and caching and invalidation
handling to a mixin that `PytestRun` and `JUnitRun` share.

Fixes pantsbuild#5307
jsirois added a commit that referenced this issue Feb 1, 2018
This factors the handling of `--fast`/`--no-fast` partitioning as well
as the attendant results summarization and caching and invalidation
handling to a mixin that `PytestRun` and `JUnitRun` share.

Fixes #5307
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

No branches or pull requests

1 participant