From 9c43791aae1dc11d140c01efb13026214121c82b Mon Sep 17 00:00:00 2001 From: Pablo Tesone Date: Tue, 4 Jun 2019 15:57:48 +0200 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b92dc75..7cc48c0 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ This test matrix can be generated with cartesian product configurations or a set An example of #testParameters is: ```Smalltalk -testParameters +MyTestCase class >> testParameters ^ ParametrizedTestMatrix new forSelector: #option1 addOptions: #(a b c); @@ -57,7 +57,7 @@ The API is quite simple, but there are two simple examples to show the use of ge The example class *PaSimpleMatrixExampleTest* shows an example of a matrix. ```Smalltalk -testParameters +PaSimpleMatrixExampleTest class >> testParameters ^ ParametrizedTestMatrix new forSelector: #item1 addOptions: { 1. 'a'. $c }; @@ -70,7 +70,7 @@ This example generates 81 different cases, with all the combinations. The second example uses a set of given cases. This example is shown in the test class *PaSelectedCasesExampleTest* ```Smalltalk -testParameters +PaSelectedCasesExampleTest class >> testParameters ^ ParametrizedTestMatrix new addCase: { #number1 -> 2. #number2 -> 1.0. #result -> 3 }; @@ -78,4 +78,4 @@ testParameters yourself ``` -This example generates exactly the two cases listed in the test. \ No newline at end of file +This example generates exactly the two cases listed in the test.