Skip to content

Commit 55c669e

Browse files
authored
Merge pull request #2174 from alvinj/use-numbered-style
Added a numbered/recipe style
2 parents 3bea2aa + edb5f59 commit 55c669e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

_overviews/scala3-book/tools-sbt.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -338,10 +338,11 @@ See Coursier’s [launch page](https://get-coursier.io/docs/cli-launch) for more
338338
339339
## Using sbt with ScalaTest
340340
341-
[ScalaTest](https://www.scalatest.org) is one of the main testing libraries for Scala projects, and in this section you’ll see how to create a Scala/sbt project that uses ScalaTest.
341+
[ScalaTest](https://www.scalatest.org) is one of the main testing libraries for Scala projects.
342+
In this section you’ll see the steps necessary to create a Scala/sbt project that uses ScalaTest.
342343
343344
344-
### Creating the project directory structure
345+
### 1) Create the project directory structure
345346
346347
As with the previous lesson, create an sbt project directory structure for a project named _HelloScalaTest_ with the following commands:
347348
@@ -353,7 +354,7 @@ $ mkdir project
353354
```
354355
355356
356-
### Creating the build.properties and build.sbt files
357+
### 2) Create the build.properties and build.sbt files
357358
358359
Next, create a _build.properties_ file in the _project/_ subdirectory of your project
359360
with this line:
@@ -380,7 +381,7 @@ The `libraryDependencies` lines tell sbt to include the dependencies (JAR files)
380381
> The ScalaTest documentation has always been good, and you can always find the up to date information on what those lines should look like on the [Installing ScalaTest](https://www.scalatest.org/install) page.
381382
382383
383-
### Create a Scala source code file
384+
### 3) Create a Scala source code file
384385
385386
Next, create a Scala program that you can use to demonstrate ScalaTest.
386387
First, create a directory under _src/main/scala_ named _math_:
@@ -420,7 +421,7 @@ With that compiled, let’s create a ScalaTest file to test the `double` method.
420421
{% endcomment %}
421422
422423
423-
### Your first ScalaTest tests
424+
### 4) Create your first ScalaTest tests
424425
425426
ScalaTest is very flexible, and offers several different ways to write tests.
426427
A simple way to get started is to write tests using the ScalaTest `AnyFunSuite`.

0 commit comments

Comments
 (0)