Refactor Platforms Attribute to use Enums
Open
Nobody has claimed this yet.
awaiting:discussion
- Dominant language
- C#
- Stars
- 2.6k
- Forks
- 766
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 24
Description
The Platforms attribute currently takes a string to specify the platforms that it supports. These are error prone and sometimes hard to guess. Switch to passing in a flags enum (so they can be or'd together).
- Evaluate minimum OS's, frameworks, etc that run .NET 4.5 and remove the others
- Name the enums after the most common supported string to make search/replace easier?
- Deprecate or remove the string constructor and support?
- Add new OS's and frameworks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Platforms attribute and its current string-based support in the NUnit Framework source. Review the issue's open decisions about supported operating systems, frameworks, enum naming, compatibility, and deprecation, then confirm the design with maintainers before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- testing-qa
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100