Re: [go-nuts] WIKI: Assert Libraries for Testing

2022-01-12 Thread Romenigue Thier
Thanks @kortschak! I understand your concerns, I work on the "both sides" too. The code (test) should be readable, easy to understand and a simple assertion can be more "clean way" that a long conditional if. A "ugly test" can be created with or without an assertion library. The concern about

Re: [go-nuts] WIKI: Assert Libraries for Testing

2022-01-12 Thread 'Dan Kortschak' via golang-nuts
I have thoughts about the impact of assertion libraries in software engineering. I came from a background where they are commonplace into Go and in my earlier projects I used some the earlier iterations on them (go-check). While it's true that developers *can* use assertion libraries to provide ri