ApprovalTests.Net | ApprovalTest verification library for Net | Testing library
kandi X-RAY | ApprovalTests.Net Summary
kandi X-RAY | ApprovalTests.Net Summary
Capturing Human Intelligence - ApprovalTests is an open source assertion/verification library to aid unit testing. It is compatible with most .Net unit testing frameworks (Nunit, MsTest, xUnit, MBUnit).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ApprovalTests.Net
ApprovalTests.Net Key Features
ApprovalTests.Net Examples and Code Snippets
Community Discussions
Trending Discussions on ApprovalTests.Net
QUESTION
I have a problem that using ApprovalTests.Net and NUnit all the tests that are run use the same approval file which name originates from Test method name.
Is it possible to specify somehow for each test case separate approval file?
...ANSWER
Answered 2018-Mar-02 at 12:41Instead of [TestCase] attribute, you could use [TestCaseSource] attribute.
https://ignas.me/tech/nunit-testcasesource-example/ - TestCaseSource example with explanation.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ApprovalTests.Net
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page