Tag

Java testing

0 views collected around this technical thread.

DeWu Technology
DeWu Technology
Dec 25, 2020 · Fundamentals

Testing Probabilistic Events with Binomial Confidence Intervals

To verify that a probabilistic interface behaves as configured, the article explains how to compute binomial confidence intervals using the normal approximation for moderate probabilities and large samples, or the exact Clopper‑Pearson method for extreme or small samples, and provides Java examples and practical guidelines.

Clopper-PearsonJava testingbinomial confidence interval
0 likes · 9 min read
Testing Probabilistic Events with Binomial Confidence Intervals
Youzan Coder
Youzan Coder
Apr 8, 2018 · Fundamentals

Testing Asynchronous Systems: Strategies and Best Practices

Testing asynchronous systems requires specialized strategies—monitoring callbacks with synchronization primitives and reliable polling with timeouts, delays, and frequencies—to handle nondeterministic execution, avoid flaky assertions, and improve testability by decoupling business logic from periodic scheduling, as demonstrated by real‑world polling implementations for Elasticsearch and MySQL/Redis jobs.

Java testingPollingasynchronous testing
0 likes · 6 min read
Testing Asynchronous Systems: Strategies and Best Practices