Skip to content

Commit 59ba82f

Browse files
committed
add tests for all notebooks
1 parent 8a15783 commit 59ba82f

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

tests/test_examples/test_examples.py

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,36 @@
44
from tests.utils import run_notebook
55

66

7+
@pytest.mark.slow
8+
def test_bayesian_experimental_design(examples_path):
9+
run_notebook(examples_path / "Bayesian_Experimental_Design.ipynb")
10+
11+
12+
@pytest.mark.slow
13+
def test_from_abc_to_bayesflow(examples_path):
14+
run_notebook(examples_path / "From_ABC_to_BayesFlow.ipynb")
15+
16+
17+
@pytest.mark.slow
18+
def test_linear_regression_starter(examples_path):
19+
run_notebook(examples_path / "Linear_Regression_Starter.ipynb")
20+
21+
22+
@pytest.mark.slow
23+
def test_lotka_volterra_point_estimation_and_expert_stats(examples_path):
24+
run_notebook(examples_path / "Lotka_Volterra_Point_Estimation_and_Expert_Stats.ipynb")
25+
26+
27+
@pytest.mark.slow
28+
def test_one_sample_ttest(examples_path):
29+
run_notebook(examples_path / "One_Sample_TTest.ipynb")
30+
31+
32+
@pytest.mark.slow
33+
def test_sir_posterior_estimation(examples_path):
34+
run_notebook(examples_path / "SIR_Posterior_estimation.ipynb")
35+
36+
737
@pytest.mark.slow
838
def test_two_moons_starter(examples_path):
939
run_notebook(examples_path / "Two_Moons_Starter.ipynb")

0 commit comments

Comments
 (0)