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

[Trigger CI] Fold PythonTestBuilder into the PytestRun task. #1322

Closed
wants to merge 2 commits into from

Conversation

benjyw
Copy link
Sponsor Contributor

@benjyw benjyw commented Mar 24, 2015

PythonTestBuilder was a vestige of the old, pre-task Pants. The PytestRun
task was implemented as a thin wrapper around it. This change merges
the functionality into PytestRun and gets rid of PythonTestBuilder as
a standalone class.

  • Fixes various kludges, such as logging: Now code that was formerly
    in PythonTestBuilder has access to the task's logging facilities, so
    it can use those instead of print().
  • PythonTestBuilder's test is now a task test for PytestRun. It uses
    the new TaskTestBase, and demonstrates how this base class could
    be used instead of the old PythonTaskTest in the remaining tests
    that still use the latter.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.08%) to 69.24% when pulling 86eabc9 on benjyw:kill_test_builder into 026e271 on pantsbuild:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.12%) to 69.27% when pulling 3715e05 on benjyw:kill_test_builder into 026e271 on pantsbuild:master.

Benjy added 2 commits March 31, 2015 14:26
PythonTestBuilder was a vestige of the old, pre-task Pants. The PytestRun
task was implemented as a thin wrapper around it.  This change merges
the functionality into PytestRun and gets rid of PythonTestBuilder as
a standalone class.

- Fixes various kludges, such as logging:  Now code that was formerly
  in PythonTestBuilder has access to the task's logging facilities, so
  it can use those instead of print().
- PythonTestBuilder's test is now a task test for PytestRun. It uses
  the new TaskTestBase, and demonstrates how this base class could
  be used instead of the old PythonTaskTest in the remaining tests
  that still use the latter.
@benjyw benjyw closed this Mar 31, 2015
@benjyw benjyw deleted the kill_test_builder branch March 31, 2015 14:43
@coveralls
Copy link

Coverage Status

Coverage increased (+0.06%) to 69.21% when pulling a928ff7 on benjyw:kill_test_builder into ce9f91e on pantsbuild:master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+0.06%) to 69.21% when pulling a928ff7 on benjyw:kill_test_builder into ce9f91e on pantsbuild:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.06%) to 69.21% when pulling a928ff7 on benjyw:kill_test_builder into ce9f91e on pantsbuild:master.

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.

None yet

2 participants