The Wayback Machine - https://web.archive.org/web/20220607001837/https://github.com/topics/property-based-testing
Skip to content
#

property-based-testing

Here are 258 public repositories matching this topic...

Stranger6667
Stranger6667 commented Sep 14, 2020

This might be helpful - too many redirects may be considered an error. E.g. the API schema might need to provide endpoints that won't involve any redirection at all, for example, if the app redirects "/api/users" to "/api/users/", then the schema should have endpoints with trailing slashes to avoid these redirects for clients at all.

Implementation notes

  • Update models.Case.call signatu
agroce
agroce commented Nov 12, 2020

Right now we just use the standard C random library, but really it'd be nice if the brute force fuzzer could do consistent tests across platforms, for various purposes. We probably need our own PRNG, something like:

https://www-cs-faculty.stanford.edu/~knuth/news02.html#rng

or

https://github.com/cmcqueen/simplerandom

I'm not sure what's best. We'd like decentish quality, maybe, and d

lupin-de-mid
lupin-de-mid commented Sep 14, 2021

In tutorial we have sample for genarator of IpAddress

open System.Net
let ipAddressGen : Gen<IPAddress> = gen {
    let! addr = Range.constantBounded () |> Gen.byte |> Gen.array (Range.singleton 4)
    return System.Net.IPAddress addr
}

Anybody could check my translation to csharp? It is'nt idiomatic csharp IMHO

var byteRange = Range.ConstantBoundedByte()

Improve this page

Add a description, image, and links to the property-based-testing topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the property-based-testing topic, visit your repo's landing page and select "manage topics."

Learn more