microsoft / microsoft/STL

Improve test coverage of ranges::views

Open
#1,409 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ranges test
Dominant language
C++
Stars
11.1k
Forks
1.7k
Avg merge
4d 15h
Merged PRs (30d)
22

Description

In https://github.com/microsoft/STL/pull/1406#discussion_r513011605 @CaseyCarter noted that we should test the conditional noexcept clauses for the different views.

Also, we should audit the view tests for missing coverage due to the fact that test::range (as defined in tests/std/include/range_algorithm_support.hpp) always models simple-view.

As this affects all views we should do this in one consistent run

Contributor guide

Open the contributing guide

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.

Research direction

Start by reviewing the view tests and tests/std/include/range_algorithm_support.hpp, focusing on how test::range always models simple-view. Audit coverage for conditional noexcept clauses and non-simple-view behavior across all ranges::views tests. Done means the missing cases are covered consistently for each view.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.