hanami / guides

Hanami Guides
https://guides.hanamirb.org
53 stars 81 forks source link

Add page about testing hanami-views #239

Closed krzykamil closed 4 months ago

krzykamil commented 5 months ago

Based on discussion https://discourse.hanamirb.org/t/testing-hanami-views/960/3

This PR should probably be merged after Sebastin's PR https://github.com/hanami/guides/pull/231 so that we could properly link this new page too

timriley commented 4 months ago

Thanks again for the effort in getting this started, @krzykamil! I've just pushed some changes to get the page into a good final shape. Along the way I realised that implemented https://github.com/hanami/hanami/pull/1357 last year, which makes testing all aspects of parts (including usage of helpers, partials, and the context) easier than ever!

Merging this now. Thanks again. This wouldn't be published without your help!