samples.xunit | Samples for xUnit.net ( please open issues in https | User Interface library
kandi X-RAY | samples.xunit Summary
kandi X-RAY | samples.xunit Summary
This project contains samples that show how to use and extend xUnit.net. To open an issue for this project, please visit the core xUnit.net project issue tracker.
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 samples.xunit
samples.xunit Key Features
samples.xunit Examples and Code Snippets
Community Discussions
Trending Discussions on samples.xunit
QUESTION
I have an issue running some integration tests with xunit. I have a process that inserts data to a MSSQL Database, then I want to run some tests over this data.
I am using .Net Core and xunit for the tests, and have used the sample from here https://github.com/xunit/samples.xunit/tree/main/SqlDataExample to create these.
The error I am getting is Data discoverer specified for Tests.SqlServerDataAttribute on Tests.UnitTest1.Test1 does not exist.
Relevant code snippets below:
...ANSWER
Answered 2021-Oct-06 at 22:44I managed to find the issue. You need a fully qualified type name on the DataDiscoverer:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install samples.xunit
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