Skip to content

Commit

Permalink
New chapter! Working without mocks, stubs and spies
Browse files Browse the repository at this point in the history
  • Loading branch information
quii committed Sep 28, 2023
1 parent a8aad5f commit 8e2d36a
Show file tree
Hide file tree
Showing 11 changed files with 586 additions and 211 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ Covering other subjects around testing.

* [Introduction to acceptance tests](intro-to-acceptance-tests.md) - Learn how to write acceptance tests for your code, with a real-world example for gracefully shutting down a HTTP server
* [Scaling acceptance tests](scaling-acceptance-tests.md) - Learn techniques to manage the complexity of writing acceptance tests for non-trivial systems.
* [Working without mocks, stubs and spies](working-without-mocks.md) - Learn about how to use fakes and contracts to create more realistic and maintainable tests.

### Questions and answers

Expand Down Expand Up @@ -164,7 +165,7 @@ Taking my experience of learning with a group and my own personal way I am going
* [Installed Go](https://golang.org/)
* A text editor
* Some experience with programming. Understanding of concepts like `if`, variables, functions etc.
* Comfortable with using the terminal
* Comfortable using the terminal

## Feedback

Expand Down
4 changes: 4 additions & 0 deletions build.books.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ docker run --rm -v `pwd`:/data uppalabharath/pandoc-latex-cjk:latest --from=gfm+
generics.md \
revisiting-arrays-and-slices-with-generics.md \
intro-to-acceptance-tests.md \
scaling-acceptance-tests.md \
working-without-mocks.md \
app-intro.md \
http-server.md \
json.md \
Expand Down Expand Up @@ -65,6 +67,8 @@ docker run --rm -v `pwd`:/data uppalabharath/pandoc-latex-cjk:latest --from=gfm+
generics.md \
revisiting-arrays-and-slices-with-generics.md \
intro-to-acceptance-tests.md \
scaling-acceptance-tests.md \
working-without-mocks.md \
app-intro.md \
http-server.md \
json.md \
Expand Down
2 changes: 1 addition & 1 deletion gb-readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Taking my experience of learning with a group and my own personal way I am going
* [Installed Go](https://golang.org/)
* A text editor
* Some experience with programming. Understanding of concepts like `if`, variables, functions etc.
* Comfortable with using the terminal
* Comfortable using the terminal

## Feedback

Expand Down
9 changes: 0 additions & 9 deletions living-without-mocks/fakes.go

This file was deleted.

13 changes: 0 additions & 13 deletions living-without-mocks/ingredients/in_memory_store.go

This file was deleted.

14 changes: 0 additions & 14 deletions living-without-mocks/ingredients/in_memory_store_test.go

This file was deleted.

11 changes: 0 additions & 11 deletions living-without-mocks/ingredients/ingredients.go

This file was deleted.

25 changes: 0 additions & 25 deletions living-without-mocks/ingredients/store_contract.go

This file was deleted.

49 changes: 0 additions & 49 deletions living-without-mocks/recipe.go

This file was deleted.

88 changes: 0 additions & 88 deletions living-without-mocks/recipe_matcher_test.go

This file was deleted.

Loading

0 comments on commit 8e2d36a

Please sign in to comment.