ardalis / ardalis/RegExLib.com

Expression paged list Unit Test

Open
#41 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
9
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Thanks to @antmdvs
Some scenarios need to add:

given totalCount > pageSize when page = 0 then should return pageSize elements
given totalCount > pageSize when page = 1 then should return results for page 1
other boundary conditions
a. totalCount = 0
a. page < 0
b. last page
c. page > # pages

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the Expression paged-list implementation and its existing unit-test file; no file path is named in the issue. Add tests for page 0 and page 1 when totalCount exceeds pageSize, plus totalCount 0, negative pages, the last page, and pages beyond the available range. Done means these boundary scenarios have clear passing assertions.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.