Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rstraub/approval-testing-kata
Some exercises to get familiar with Approval Testing
https://github.com/rstraub/approval-testing-kata
approval-testing practice scala
Last synced: about 1 month ago
JSON representation
Some exercises to get familiar with Approval Testing
- Host: GitHub
- URL: https://github.com/rstraub/approval-testing-kata
- Owner: rstraub
- Created: 2024-04-24T11:31:48.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-24T14:12:28.000Z (9 months ago)
- Last Synced: 2024-10-28T02:06:18.155Z (3 months ago)
- Topics: approval-testing, practice, scala
- Language: Shell
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Approval Testing Kata
**Goals:**
- Understanding what Approval Testing is
- Where it is useful
- Where it _isn't_ useful
- How to write approval testsWe'll be using the [Approval Tests](https://approvaltests.com) library as an
implementation, but the technique can be achieved in other ways too## Exercises
Exercises are self-contained in test files.
Start your journey in the
[LegacyPrinterSpec](src/test/scala/nl/codecraftr/scala/kata/LegacyPrinterSpec.scala).## Questions
- How does approval testing differ from 'good old' unit testing?
- What about approval testing was useful to you? What wasn't?
- In which cases would you use approval testing? When wouldn't you?Find the answers to these questions in the [summary](summary.md)