Kotlin / kotlin-fullstack-sample

Kotlin Full-stack Application Example
https://kotlinlang.org
Apache License 2.0
1.21k stars 169 forks source link

Test coverage for backend #28

Open oleksiyp opened 7 years ago

oleksiyp commented 7 years ago

Hi, seems your project lacks good test coverage.

And that's perfect match for my needs. I want to test-drive my new mocking library MockK and by the way I can do full coverage for your project.

Cheers!

 * - not testable
 + - tested

 [*] ├── Application.kt
 [+] ├── ApplicationPage.kt
     ├── dao
 [+] │   ├── ThinkterDatabase.kt
 [*] │   ├── ThinkterStorage.kt
 [*] │   ├── Thoughts.kt
 [*] │   └── Users.kt
 [+] ├── Delete.kt
 [+] ├── Index.kt
 [*] ├── Locations.kt
 [+] ├── Login.kt
     ├── model
 [*] │   ├── atoms.kt
 [*] │   └── responses.kt
 [+] ├── PostThought.kt
 [+] ├── Register.kt
 [+] ├── UserPage.kt
 [+] ├── Utilities.kt
 [+] └── ViewThought.kt
oleksiyp commented 7 years ago

Requesting review and merge. @cy6erGn0m @hhariri @orangy @yole @elizarov Thanks in advance!