home.social

#pbt — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #pbt, aggregated by home.social.

  1. Spent a couple hours today working with a colleague on a property test using #eris. We found one bug in the implementation of our oracle, which proved that our production code was actually doing the right thing, though it's unclear if that was deliberate or accidental. After that we increased the number of samples to 1000 which actually seems to have uncovered another bug.

    Really cool to finally have a good use case for property based testing.

    #php #propertybasedtesting #pbt #phpunit

  2. Spent a couple hours today working with a colleague on a property test using #eris. We found one bug in the implementation of our oracle, which proved that our production code was actually doing the right thing, though it's unclear if that was deliberate or accidental. After that we increased the number of samples to 1000 which actually seems to have uncovered another bug.

    Really cool to finally have a good use case for property based testing.

    #php #propertybasedtesting #pbt #phpunit

  3. Spent a couple hours today working with a colleague on a property test using . We found one bug in the implementation of our oracle, which proved that our production code was actually doing the right thing, though it's unclear if that was deliberate or accidental. After that we increased the number of samples to 1000 which actually seems to have uncovered another bug.

    Really cool to finally have a good use case for property based testing.

  4. About the efficacy of Property Based Testing. According to the study it's better than I (as a supporter) would have guessed.
    dl.acm.org/doi/10.1145/3764068

    #propertyBasedTesting #pbt

  5. About the efficacy of Property Based Testing. According to the study it's better than I (as a supporter) would have guessed.
    dl.acm.org/doi/10.1145/3764068

    #propertyBasedTesting #pbt

  6. About the efficacy of Property Based Testing. According to the study it's better than I (as a supporter) would have guessed.
    dl.acm.org/doi/10.1145/3764068

    #propertyBasedTesting #pbt

  7. About the efficacy of Property Based Testing. According to the study it's better than I (as a supporter) would have guessed.
    dl.acm.org/doi/10.1145/3764068

    #propertyBasedTesting #pbt

  8. About the efficacy of Property Based Testing. According to the study it's better than I (as a supporter) would have guessed.
    dl.acm.org/doi/10.1145/3764068

    #propertyBasedTesting #pbt

  9. Started hacking on a shrinker (reducer) of floats for QCheck a while back - and struggled. Yesterday I finally made some progress and now opened a PR for it:
    github.com/c-cube/qcheck/pull/ ✂️ 🔢 🤓

    #ocaml #pbt #quickcheck

  10. Started hacking on a shrinker (reducer) of floats for QCheck a while back - and struggled. Yesterday I finally made some progress and now opened a PR for it:
    github.com/c-cube/qcheck/pull/ ✂️ 🔢 🤓

    #ocaml #pbt #quickcheck

  11. Here's a preprint of the paper I wrote up for Olivier's festscrift 🎉 🍾

    Property-Based Testing of OCaml 5's Runtime System:
    Fun and Segfaults with Interpreters and State Transition Functions

    We describe our effort on using property-based testing to test the OCaml 5 multicore runtime system. In particular, we cover three case studies of increasing complexity that utilize a model-based state machine framework: (a) Testing the Array module, (b) testing weak hash sets, and (c) testing the garbage collector, with the latter two behaving non-deterministically from the point of view of the blackbox testing process. We evaluate the approach empirically by analyzing the bugs found, and discuss both limitations and challenges we have met underway.

    janmidtgaard.dk/papers/Midtgaa

    #ocaml #pbt #quickcheck #preprint

  12. Here's a preprint of the paper I wrote up for Olivier's festscrift 🎉 🍾

    Property-Based Testing of OCaml 5's Runtime System:
    Fun and Segfaults with Interpreters and State Transition Functions

    We describe our effort on using property-based testing to test the OCaml 5 multicore runtime system. In particular, we cover three case studies of increasing complexity that utilize a model-based state machine framework: (a) Testing the Array module, (b) testing weak hash sets, and (c) testing the garbage collector, with the latter two behaving non-deterministically from the point of view of the blackbox testing process. We evaluate the approach empirically by analyzing the bugs found, and discuss both limitations and challenges we have met underway.

    janmidtgaard.dk/papers/Midtgaa

    #ocaml #pbt #quickcheck #preprint

  13. Here's a preprint of the paper I wrote up for Olivier's festscrift 🎉 🍾

    Property-Based Testing of OCaml 5's Runtime System:
    Fun and Segfaults with Interpreters and State Transition Functions

    We describe our effort on using property-based testing to test the OCaml 5 multicore runtime system. In particular, we cover three case studies of increasing complexity that utilize a model-based state machine framework: (a) Testing the Array module, (b) testing weak hash sets, and (c) testing the garbage collector, with the latter two behaving non-deterministically from the point of view of the blackbox testing process. We evaluate the approach empirically by analyzing the bugs found, and discuss both limitations and challenges we have met underway.

    janmidtgaard.dk/papers/Midtgaa

    #ocaml #pbt #quickcheck #preprint

  14. Here's a preprint of the paper I wrote up for Olivier's festscrift 🎉 🍾

    Property-Based Testing of OCaml 5's Runtime System:
    Fun and Segfaults with Interpreters and State Transition Functions

    We describe our effort on using property-based testing to test the OCaml 5 multicore runtime system. In particular, we cover three case studies of increasing complexity that utilize a model-based state machine framework: (a) Testing the Array module, (b) testing weak hash sets, and (c) testing the garbage collector, with the latter two behaving non-deterministically from the point of view of the blackbox testing process. We evaluate the approach empirically by analyzing the bugs found, and discuss both limitations and challenges we have met underway.

    janmidtgaard.dk/papers/Midtgaa

    #ocaml #pbt #quickcheck #preprint

  15. Here's a preprint of the paper I wrote up for Olivier's festscrift 🎉 🍾

    Property-Based Testing of OCaml 5's Runtime System:
    Fun and Segfaults with Interpreters and State Transition Functions

    We describe our effort on using property-based testing to test the OCaml 5 multicore runtime system. In particular, we cover three case studies of increasing complexity that utilize a model-based state machine framework: (a) Testing the Array module, (b) testing weak hash sets, and (c) testing the garbage collector, with the latter two behaving non-deterministically from the point of view of the blackbox testing process. We evaluate the approach empirically by analyzing the bugs found, and discuss both limitations and challenges we have met underway.

    janmidtgaard.dk/papers/Midtgaa

    #ocaml #pbt #quickcheck #preprint

  16. My little pet project marks an important milestone:
    My small library for generating strings based on given regular expressions is now feature-complete with support for all advanced regex-based string generation use cases. #PBT #Java
    github.com/SimY4/coregex/relea

  17. My little pet project marks an important milestone:
    My small library for generating strings based on given regular expressions is now feature-complete with support for all advanced regex-based string generation use cases. #PBT #Java
    github.com/SimY4/coregex/relea

  18. My little pet project marks an important milestone:
    My small library for generating strings based on given regular expressions is now feature-complete with support for all advanced regex-based string generation use cases. #PBT #Java
    github.com/SimY4/coregex/relea

  19. My little pet project marks an important milestone:
    My small library for generating strings based on given regular expressions is now feature-complete with support for all advanced regex-based string generation use cases. #PBT #Java
    github.com/SimY4/coregex/relea

  20. preparing a crappy code base for a talk/workshop always requires disabling many IDE & compiler warnings
    #dotnet #pbt #FSharp #CSharp

  21. preparing a crappy code base for a talk/workshop always requires disabling many IDE & compiler warnings
    #dotnet #pbt #FSharp #CSharp

  22. preparing a crappy code base for a talk/workshop always requires disabling many IDE & compiler warnings
    #dotnet #pbt #FSharp #CSharp

  23. preparing a crappy code base for a talk/workshop always requires disabling many IDE & compiler warnings
    #dotnet #pbt #FSharp #CSharp

  24. preparing a crappy code base for a talk/workshop always requires disabling many IDE & compiler warnings
    #dotnet #pbt #FSharp #CSharp

  25. Over the past couple of days, I've been scratching a 3-year old QCheck(2) itch
    github.com/c-cube/qcheck/pull/
    It's nice to finally make progress on it! 😃
    #ocaml #quickcheck #pbt #fp

  26. Over the past couple of days, I've been scratching a 3-year old QCheck(2) itch
    github.com/c-cube/qcheck/pull/
    It's nice to finally make progress on it! 😃
    #ocaml #quickcheck #pbt #fp

  27. Over the past couple of days, I've been scratching a 3-year old QCheck(2) itch
    github.com/c-cube/qcheck/pull/
    It's nice to finally make progress on it! 😃
    #ocaml #quickcheck #pbt #fp

  28. have I mentioned how much I like the new #dotnet #cli?
    #FSharp and #CSharp hand in hand with #pbt

  29. have I mentioned how much I like the new #dotnet #cli?
    #FSharp and #CSharp hand in hand with #pbt

  30. have I mentioned how much I like the new #dotnet #cli?
    #FSharp and #CSharp hand in hand with #pbt

  31. have I mentioned how much I like the new #dotnet #cli?
    #FSharp and #CSharp hand in hand with #pbt

  32. have I mentioned how much I like the new #dotnet #cli?
    #FSharp and #CSharp hand in hand with #pbt

  33. I've written up part 2 on our effort to utilize property-based testing to stress test the OCaml 5 run time system. Happy Christmas reading! 🎄🎅 🎁 😄
    tarides.com/blog/2024-12-23-mu
    #ocaml #pbt #fp #functionalprogramming #quickcheck

  34. I've written up part 2 on our effort to utilize property-based testing to stress test the OCaml 5 run time system. Happy Christmas reading! 🎄🎅 🎁 😄
    tarides.com/blog/2024-12-23-mu
    #ocaml #pbt #fp #functionalprogramming #quickcheck

  35. I'll visit Paris this week to give a talk about our efforts to drill OCaml 5 with property-based tests: sites.google.com/view/gdr-gpl-

    Ping me if we should hook up for a coffee or a beer... ☕🍺

    #pbt #quickcheck #ocaml

  36. I'll visit Paris this week to give a talk about our efforts to drill OCaml 5 with property-based tests: sites.google.com/view/gdr-gpl-

    Ping me if we should hook up for a coffee or a beer... ☕🍺

    #pbt #quickcheck #ocaml