簡體   English   中英

集成了Azure Devops和Python,以便通過自動化腳本傳遞測試結果並在Azure Devops中進行更新?

[英]Integration of Azure Devops and Python for passing test results from automation script and update in Azure Devops?

我目前正在使用Appium和Python執行一些移動應用程序自動化,其中測試用例在Azure Devops上。

我對Appium,Python和TestLink做過同樣的事情。 我已經使用TestLink-API-Python-client將測試結果自動傳遞給了TestLink。

無論如何,我可以使用Azure Devops做同樣的事情嗎?

這是我用於將pytest測試上傳到Azure Devops的管道(摘錄)的yaml代碼:

- script: PYTHONPATH=$(pwd) pytest python/tests --type test --junitxml=test_everything.xml
  displayName: "Run pytest"

- task: PublishTestResults@2
  inputs:
    testResultsFiles: '**/test_*.xml'
    searchFolder: '$(Build.Repository.LocalPath)/deployment'
  condition: always()

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM