From 79bab81edd498c036b164762e172784b925d7c83 Mon Sep 17 00:00:00 2001 From: Vince Date: Sun, 11 Feb 2018 14:46:34 -0500 Subject: [PATCH 1/3] Fix links in docs to Timing demo --- docs/src/main/tut/docs/actions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/main/tut/docs/actions.md b/docs/src/main/tut/docs/actions.md index 7197e5b..c032228 100644 --- a/docs/src/main/tut/docs/actions.md +++ b/docs/src/main/tut/docs/actions.md @@ -29,8 +29,8 @@ Compound actions contain other actions within themselves. * **`label`**. Introduced a labeled block of code. See the [Example](https://github.com/47deg/LambdaTest/blob/master/src/test/scala/demo/Example.scala) demo. * **`test`**. Defines a named test. See the [Example](https://github.com/47deg/LambdaTest/blob/master/src/test/scala/demo/.scala) demo. * **`changeOptions`**. Used to change options within its body. See the [FailOnly](https://github.com/47deg/LambdaTest/blob/master/src/test/scala/coverage/FailOnly.scala) test. -* **`timer`**. Reports the execution time of its body. See the [Timing](https://github.com/47deg/LambdaTest/blob/master/src/test/scala/demo/Timing.scala) demo. -* **`assertTiming`**. Reports the execution time of its body. Fails if a max time is exceeded. See the [Timing](https://github.com/47deg/LambdaTest/blob/master/src/test/scala/demo/Timing.scala) demo. +* **`timer`**. Reports the execution time of its body. See the [Timing](https://github.com/47deg/LambdaTestTiming/blob/master/src/test/scala/demo/Timing.scala) demo. +* **`assertTiming`**. Reports the execution time of its body. Fails if a max time is exceeded. See the [Timing](https://github.com/47deg/LambdaTestTiming/blob/master/src/test/scala/demo/Timing.scala) demo. * **`nest`**. Used to nest declarations in immutable tests. See the [Immutable](https://github.com/47deg/LambdaTest/blob/master/src/test/scala/demo/Immutable.scala) demo. ### Assertion Nesting Rule From 5e2b9cf86230ad9ab2d657735167977e2c5c9085 Mon Sep 17 00:00:00 2001 From: vreuter Date: Sun, 11 Feb 2018 15:20:37 -0500 Subject: [PATCH 2/3] keyword in docs --- docs/src/main/tut/docs/quick.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/main/tut/docs/quick.md b/docs/src/main/tut/docs/quick.md index 7ee4aa8..20e83b3 100644 --- a/docs/src/main/tut/docs/quick.md +++ b/docs/src/main/tut/docs/quick.md @@ -11,9 +11,9 @@ Include LambdaTest jar "com.fortysevendeg" % "lambda-test_2.11" % "1.1.2" % "test" -Each test file should +Each test file should include - include com.fortyseven.lambdatest._ + import com.fortyseven.lambdatest._ Each test file class should extend the `LambdaTest` trait. @@ -25,4 +25,4 @@ If you want to run tests via SBT then the `build.sbt` file should specify testFrameworks += new TestFramework("com.fortysevendeg.lambdatest.sbtinterface.LambdaFramework") To see a simple example look at the [Example](https://github.com/47deg/LambdaTest/blob/master/src/test/scala/demo/Example.scala) demo. - \ No newline at end of file + From faf374ac6bbbde690a7c380a526691a8a7701b04 Mon Sep 17 00:00:00 2001 From: vreuter Date: Sun, 11 Feb 2018 16:27:56 -0500 Subject: [PATCH 3/3] match the Example link --- docs/src/main/tut/docs/actions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/tut/docs/actions.md b/docs/src/main/tut/docs/actions.md index c032228..ea07dea 100644 --- a/docs/src/main/tut/docs/actions.md +++ b/docs/src/main/tut/docs/actions.md @@ -27,7 +27,7 @@ Simple actions do not contain other actions. Compound actions contain other actions within themselves. * **`label`**. Introduced a labeled block of code. See the [Example](https://github.com/47deg/LambdaTest/blob/master/src/test/scala/demo/Example.scala) demo. -* **`test`**. Defines a named test. See the [Example](https://github.com/47deg/LambdaTest/blob/master/src/test/scala/demo/.scala) demo. +* **`test`**. Defines a named test. See the [Example](https://github.com/47deg/LambdaTest/blob/master/src/test/scala/demo/Example.scala) demo. * **`changeOptions`**. Used to change options within its body. See the [FailOnly](https://github.com/47deg/LambdaTest/blob/master/src/test/scala/coverage/FailOnly.scala) test. * **`timer`**. Reports the execution time of its body. See the [Timing](https://github.com/47deg/LambdaTestTiming/blob/master/src/test/scala/demo/Timing.scala) demo. * **`assertTiming`**. Reports the execution time of its body. Fails if a max time is exceeded. See the [Timing](https://github.com/47deg/LambdaTestTiming/blob/master/src/test/scala/demo/Timing.scala) demo.