Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ads-pytest-parser

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ads-pytest-parser

Associate DevOps test cases with pytest XML results

  • 0.0.2
  • PyPI
  • Socket score

Maintainers
1

Version

Pytest Parser to Azure DevOps Test Case

Associate DevOps test cases with pytest nunit XML results

Usage

The parser should be run on an Azure DevOps pytest-azurepipelines generated XML file, because it searches for the following attributes:

  • "test-case"
    • "methodname"
    • "result"

The Python script requires the following arguments:

  • org: Azure DevOps organization name
  • project: Azure DevOps project name
  • plan: Azure DevOps test plan name
  • suite: Azure DevOps test suite name
  • auth: Azure DevOps personal access token
  • xml: pytest-azurepipelines generated XML file

The test cases should be named in the following format: testcase_<DevOpsID> , i.e. def testcase_123456():

For example:

ads-pytest-parser org project planID suiteID authToken test.xml

The script will then associate the test cases with the test results - for the test cases the outcome will be set.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc