Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Convert code samples to executable code

Open
#427 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp

Research direction

Start by reviewing the completed work in #702 and the existing Docfx snippets, then comb the project for additional snippets as requested in the work breakdown. Done means prioritized samples are hosted in a real C# solution or project, pulled into the documentation, and checked by CI where applicable.

Written by the indexing model from the issue text.

Description

Docfx has the ability to pull snippets from other files, including directly from C# code.

This means we can create a real solution/project, host code samples there and iterate on them, and pull the relevant sections into the docs.

Doing this will allow for:

  • Verification of sample code
  • Easier refactoring of samples to use good practices
  • CI checking to ensure samples work and all tests pass
  • Ability to show tests that fail too (and to ignore them in CI)
  • Easier creation of more complex samples
  • Sample code re-use eventually

Work Breakdown

  • #702
  • Comb the project for other possible snippets and add them to the list here
  • Enlist others in populating these snippets in the real project

Snippets, in suggested order of priority:

TBD

Dominant language
Dockerfile
Stars
601
Forks
158
Avg merge
15h 46m
Merged PRs (30d)
23

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nunit/docs

All issues in nunit/docs

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.