formatting tweaks

This commit is contained in:
Adam Brown 2022-09-16 16:31:45 +01:00
parent 1b3e099d7c
commit 4a0cda3268
1 changed files with 7 additions and 8 deletions

View File

@ -2,7 +2,7 @@
<!--- TOC -->
* [Overview](#project-conventions)
* [Overview](#overview)
* [Best Practices](#best-practices)
* [Project Conventions](#project-conventions)
* [Setup](#setup)
@ -14,9 +14,8 @@
* [Fakes](#fakes)
* [Fixtures](#fixtures)
* [Examples](#examples)
* [Simple](#extensions-used-to-streamline-the-test-setup)
* [Extensions used to streamline the test setup](#extensions-used-to-streamline-the-test-setup)
* [Fakes and Fixtures](#fakes-and-fixtures)
* [ViewModel](#viewmodel)
<!--- END -->
@ -69,7 +68,7 @@ class MyClassTest {
- `given` - Uniqueness about the environment or dependencies in which the test case is running. _"given device is android 12 and supports dark mode"_
- `when` - The action/function under test. _"when reading dark mode status"_
- `then` - The expected result from the combination of _given_ and _when_. _"then returns dark mode enabled"_
- Test names are written using kotlin back ticks to enable _sentences _ish_.
- Test names are written using kotlin back ticks to enable sentences _ish_.
```kotlin
@Test