Better HN
topnewbestaskshowjobs
Log inSign up

p10r

7 karma · joined Jul 19, 2022 (4y ago) · 5 submissions

Submissions

comment 2y ago · link · parent

Sounds like Compose and Kotlin, although multiplatform still being more in a beta stage.

2.

Testing Mastery: Fast and Secure Application Tests(medium.com ↗)

1 points · by p10r · 2y ago · discuss

comment 3y ago · link · parent

Http4k, a http library for Kotlin, has an, in my opinion, great way of generating documentation for you [0]. They explain it in more detail in their talk [1] and also have an example repository [2], if you favor to look at code.

[0] https://www.http4k.org/blog/http4k_v5/#tracerbullet_a_brand_...

[1] https://www.youtube.com/watch?v=CrslqbMbaD8

[2] https://github.com/http4k/exploring-the-testing-hyperpyramid

comment 3y ago · link · parent

I'm doing exactly the same. Another added benefit of that is that you save some length in the test name, which can be quite helpful in certain scenarios.

comment 3y ago · link · parent

Would you also recommend that book to someone who's not using Haskell/Idris/Scala?