-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should we document Modifiers, e.g. Using #823
Comments
Indeed, It would be good to have a section on comparison and that all (I hope) comparison constraints have the I only stumbled over the The problem I have with documenting the constraints is that hardly any developer uses the constraints directly by calling their constructors. I thought that @SeanKilleen created a ticket (or asked a question) about documenting the static classes, but cannot find it. But not sure how to organize it any different either. |
I fully agree. I believe we should focus on user-centric documentation. Now it is a mix of user and reference. I hope we can sort that out later, so in this case, we could add either a modifiers section, and also document comparisons directly, like a tutorial section. @SeanKilleen - what's your thoughts here? |
@OsirisTerje @manfred-brands I think the overall challenge, in my work on the project so far, is that we have three docs goals:
I think these are separate goals, and they're all valuable, but I think they're different kinds of content. Maybe it's about forcing ourselves to put types of content into those buckets so as to consider the audience and format and where the content should ultimately live. Perhaps something like:
My new job had made me hesitant to dig into any huge stuff with NUnit the last 3 months, but I think I have my feet under me there now and I really would like to set these efforts up for success. I'll see what I can do to put together a graph of blockers and start knocking away at them. |
The modifiers that can be used are somewhat poorly documented. Some are documented where they are used, like
Within
, but e.g.Using
is only briefly mentioned with no documentation nor examples of use.All documentation should have examples of usage, placed in the Snippets folder.
The
Using
is used on multiple constraints, and since their use is nearly similar, should they be documented in one place, and variations documented there, or should we document them for every constraint. If the former, the constraints should be expanded with links to the usage documentation.I've also noticed that not all constraints where it can be applied mention the
Usage
modifier.I also believe we lack a complete dictionary over the different modifiers we use.
@nunit/framework-team ?
The text was updated successfully, but these errors were encountered: