.Net Core에서 NUnit 3와 Allure 통합 (Allure integration with NUnit 3 in .Net Core)


문제 설명

.Net Core에서 NUnit 3와 Allure 통합 (Allure integration with NUnit 3 in .Net Core)

.Net Core에서 NUnit 3를 사용하여 단위 테스트를 실행하고 있습니다. 보고를 위해 Allure를 사용하고 싶습니다. 겪고 있는 문제는 NUnit.Allure 너겟 패키지만 (.net core) 프로젝트에 추가할 수 있지만 네임스페이스는 해결할 수 없다는 것입니다. 가까운 장래에 .Net Core에 대한 Allure 지원을 추가할 계획이 있습니까?


참조 솔루션

방법 1:

I am using Allure with .Net Core 3.1. These are the steps I followed:

  1. Add Allure.Commons and NUnit.Allure to your test project.
  2. Add allureConfig.json file to your test project and ensure to set it to be copied to the output directory
  3. Add the [AllureNUnit] to your test classes

That is all!. You will get the output file generated by allure in the location you specified in the allureConfig.json. With those files you will be able to generate the report.

(by Lehlohonolo LetaoanaNicoPaez)

참조 문서

  1. Allure integration with NUnit 3 in .Net Core (CC BY‑SA 2.5/3.0/4.0)

#.net-core #nunit-3.0 #allure






관련 질문

.net core rc1에서 rc2로 마이그레이션할 때 이 비호환성 문제가 발생하는 이유 (Why I'm getting this incompatibilities issues migrating from .net core rc1 to rc2)

dotnet core-Logging 클래스 라이브러리 (dotnet core-Logging in class library)

Cors .Net Core 활성화 (Enable Cors .Net Core)

Enum<T>.Parse를 사용하면 정수인 모든 문자열을 구문 분석할 수 있습니다. .net 코어의 버그입니까? (Enum<T>.Parse allows parsing any string that is an integer. Is it a bug in .net core?)

.net Core: C# 코드에서 매개 변수를 전달하고 Azure 데이터 팩터리 파이프라인을 실행하는 방법은 무엇입니까? (.net Core : How to pass parameters and run Azure data factory pipeline from C# Code?)

Dotnet Core 3.1, EF1001: 내부 ef 코어 API 사용 (Dotnet Core 3.1, EF1001: internal ef core api usage)

.NET Core 작업자 서비스의 구성을 기반으로 호스팅 서비스 등록 (Register Hosted Services based on Configuration in .NET Core Worker services)

pem 및 key를 사용하여 Azure 기능에서 게시 시도 (Trying to do post from an Azure function with pem and key)

.NET Core에서 실제 통합 테스트를 작성하는 방법은 무엇입니까? (How to write real integration test in .NET Core?)

HTTP 오류 500.30 - ANCM 진행 중인 시작 실패 Asp.net-Core 3.1 (HTTP Error 500.30 - ANCM In-Process Start Failure Asp.net-Core 3.1)

.Net Core에서 NUnit 3와 Allure 통합 (Allure integration with NUnit 3 in .Net Core)

HttpClient 재시도 논리가 예상대로 작동하지 않음(.Net Core 3.1) (HttpClient retry logic not working as expected (.Net Core 3.1))







코멘트