Skip to content
This repository has been archived by the owner on Jun 5, 2022. It is now read-only.

A bout xunit framework #10

Closed
hayletdomybest opened this issue Feb 21, 2020 · 3 comments
Closed

A bout xunit framework #10

hayletdomybest opened this issue Feb 21, 2020 · 3 comments
Labels
more-info-needed Further information is requested

Comments

@hayletdomybest
Copy link

Sorry to bother you, I am studying how to develop a unit-test-framework, and I see your project xunit-extensions, that's a good sample for me to understand how to work and what is my first step, but a very confuse question for me. That's why I can click run test button and my unit-test-framework will working, I don't know from the project can you tell me why and help me what document record this

@natemcmaster
Copy link
Owner

I don't understand the question. Please be more specific about which buttons you are talking about and what exactly you are expecting to happen.

@natemcmaster natemcmaster added the more-info-needed Further information is requested label Feb 23, 2020
@hayletdomybest
Copy link
Author

Sorry, I don't know why SkippableFactDiscoverer just inherent in FactDiscoverer, and run unit test the program will run this, not run original program of FactDiscoverer.

Because I attempt to create class name of MyTestFramework and inherent in XunitTestFramework,but unfortunately the program not run, it is still running native program.

Thank your response, and sorry ask to this question that not relate your project

@natemcmaster
Copy link
Owner

why SkippableFactDiscoverer just inherent in FactDiscoverer

It's easier to inherit and add my customer functionality, as opposed to re-implementing the entire IXunitTestCaseDiscoverer interface.

create class name of MyTestFramework and inherent in XunitTestFramework,but unfortunately the program not run

You might be missing the right assembly attributes, example https://github.com/xunit/samples.xunit/blob/master/AssemblyFixtureExample/Samples.cs#L5

Hope that helps.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
more-info-needed Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants