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
  • !1665

[TestNG] Mark tests as failed if test setup fails; log setup failures

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/Addepar/addepar/testng-testsetup into master Dec 04, 2017
  • Overview 2
  • Commits 11
  • Pipelines 0
  • Changes 14

Created by: jiangty-addepar

On top of #1664 and 4th part of #1657 . Ignore commits before Support Stdout and Exception Details when Test Setup Fails.

  • If test setup fails in a TestNG test:
    • Mark test as failed
    • Print stdout and exception stack traces from setup methods
    • Record all test failures in JUnit test report, including those from test setup

Todo: figure out how to not also mark the "setup" method as a failing "test"? It's not a big deal because the goal of "tell the developer when test setup is broken" is still being achieved.

Test Plan: SetupTestNGTest

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