From b634ebe74cefe42cc7e6d8348a5158fc2578d320 Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Sat, 24 Jul 2021 07:49:35 +1200 Subject: [PATCH 1/2] [docs] remove mention of DeprecatedTest --- docs/src/tutorials/implementing.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/tutorials/implementing.md b/docs/src/tutorials/implementing.md index 293180e478..0d2701e3da 100644 --- a/docs/src/tutorials/implementing.md +++ b/docs/src/tutorials/implementing.md @@ -165,7 +165,7 @@ Project.toml The best way to implement an interface to MathOptInterface is via [test-driven development](https://en.wikipedia.org/wiki/Test-driven_development). -The [`MOI.DeprecatedTest` submodule](@ref test_module) contains a large test suite to help +The [`MOI.Test` submodule](@ref test_module) contains a large test suite to help check that you have implemented things correctly. Follow the guide [How to test a solver](@ref) to set up the tests for your @@ -173,9 +173,9 @@ package. !!! tip Run the tests frequently when developing. However, at the start there is - going to be a lot of errors! Comment out all the `test_` functions but one, - run the tests, implement any missing methods until the test passes, then - uncomment another test and repeat. + going to be a lot of errors! Start by excluding large classes of tests + (e.g., `exclude = ["test_basic_", "test_model_]`, implement any missing + methods until the tests pass, then remove an exclusion and repeat. ## Initial code From 6f2f9237f42d9566d4d205edd0be2a879d9bd050 Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Sat, 24 Jul 2021 07:50:23 +1200 Subject: [PATCH 2/2] Update implementing.md --- docs/src/tutorials/implementing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/tutorials/implementing.md b/docs/src/tutorials/implementing.md index 0d2701e3da..58f3dd1790 100644 --- a/docs/src/tutorials/implementing.md +++ b/docs/src/tutorials/implementing.md @@ -174,7 +174,7 @@ package. !!! tip Run the tests frequently when developing. However, at the start there is going to be a lot of errors! Start by excluding large classes of tests - (e.g., `exclude = ["test_basic_", "test_model_]`, implement any missing + (e.g., `exclude = ["test_basic_", "test_model_"]`, implement any missing methods until the tests pass, then remove an exclusion and repeat. ## Initial code