Create test task mixin

Review Request #2902 - Created Sept. 29, 2015 and submitted

Information
Sameer Brenn
pants
b34075d...
Reviewers
pants-reviews
benjyw, jsirois, stuhood

In order to minimize duplicated code between test tasks for different languages, here is a TestTaskMixin that will keep functionality shared among tests for all languages.

- Filters target list according to _get_targets method in language-specific class
- Validates targets according to _validate_targets method in language-specific class
- --skip option will skip tests

Added test:
./pants test tests/python/pants_test/backend/core/task:test_task_mixin

All tests pass:
./pants test tests/python/pants_test:all

Pull request: https://github.com/pantsbuild/pants/pull/2288

Issues

  • 0
  • 4
  • 3
  • 7
Description From Last Updated
Stu Hood
Justin Trobec
Sameer Brenn
Benjy Weinberger
Sameer Brenn
Stu Hood
Sameer Brenn
Stu Hood
Benjy Weinberger
Benjy Weinberger
Sameer Brenn
Stu Hood
Benjy Weinberger
Sameer Brenn
Sameer Brenn
Sameer Brenn
Justin Trobec
Justin Trobec
Sameer Brenn
Review request changed

Status: Closed (submitted)

Change Summary:

Merged as b5da65d5262ac6036377928d67208c995f2b80bc

Loading...