Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B buck
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 201
    • Issues 201
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • buck
  • Merge requests
  • !1657

Improvements to TestNG test runner

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/Addepar/addepar/testng into master Dec 01, 2017
  • Overview 4
  • Commits 13
  • Pipelines 0
  • Changes 23

Created by: jiangty-addepar

(This PR is on top of https://github.com/facebook/buck/pull/1653, so ignore the first commit for now.)

This is a collection of TestNG test improvements from our fork of Buck. Changes include:

  • Minor fixes to testng runner.
    • Mark skipped tests as failed
    • No hard time limit per test suite
  • Respect ClassName and MethodName filters in TestNG runner.
    • Make ClassName / MethodName filters work with TestNG runner
    • Remove TestNGWrapper
    • Remove "TmpSuite" xml suite
  • TestNG results now show method parameters.
    • Show method parameters in TestNG test results (for example, for tests that use DataProviders)
  • Support Stdout and Exception Details when Test Setup Fails
    • Fail test and print exceptions/stdout when test setup fails
    • Record all test failures in JUnit test report, including those from test setup

The remaining changes are to tests. I did some refactoring to use the buck cell (reducing jar duplication) for an existing test as well.

Test plan: buck test; added a number of integration tests.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/Addepar/addepar/testng