
Security News
New CVE Forecasting Tool Predicts 47,000 Disclosures in 2025
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
This is a .NET library that generates sets of test cases, for use by parameterised tests. Think of it as being a DSL for making 'object mothers', whose generated data can be used as test cases (or for any other purpose, for that matter). Each test case is built up progressively from smaller pieces of data that are combined together. The smallest pieces are referred to as 'test variables'. Each test variable is constrained to take values from its own set of allowed 'levels'. Changing each test variable independently to a new level produces a new test case. If a test requires a certain 'strength' of coverage of combinations of levels from different test variables, the library produces a stream of test cases that honour this guarantee while avoiding getting swamped with a combinatoric explosion of test cases. If a parameterised test fails with an exception for a specific test case, the library creates a signature that allows it to reproduce the failing test case immediately in a separate test; this is to aid debugging. The sources are written in F#, but the API can be used just as comfortably from C# as from F#. The documentation is on the front page of the GitHub site: https://github.com/sageserpent-open/NTestCaseBuilder. You can also find sample code ready to run by installing the NuGet samples package: https://www.nuget.org/packages/NTestCaseBuilder.Samples.
FAQs
This is a .NET library that generates sets of test cases, for use by parameterised tests. Think of it as being a DSL for making 'object mothers', whose generated data can be used as test cases (or for any other purpose, for that matter). Each test case is built up progressively from smaller pieces of data that are combined together. The smallest pieces are referred to as 'test variables'. Each test variable is constrained to take values from its own set of allowed 'levels'. Changing each test variable independently to a new level produces a new test case. If a test requires a certain 'strength' of coverage of combinations of levels from different test variables, the library produces a stream of test cases that honour this guarantee while avoiding getting swamped with a combinatoric explosion of test cases. If a parameterised test fails with an exception for a specific test case, the library creates a signature that allows it to reproduce the failing test case immediately in a separate test; this is to aid debugging. The sources are written in F#, but the API can be used just as comfortably from C# as from F#. The documentation is on the front page of the GitHub site: https://github.com/sageserpent-open/NTestCaseBuilder. You can also find sample code ready to run by installing the NuGet samples package: https://www.nuget.org/packages/NTestCaseBuilder.Samples.
We found that ntestcasebuilder demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.