A behavioral test is a test that tests the behavior of a piece of software, as opposed to a test that checks types or implementation details or something else that isn't behavior.
It is perhaps not necessary to write tests like these in languages that produce code that does not have bugs. I have yet to encounter such a language.
>If declaring structs is seen as costly overhead that complicates coding, tests are when more cumbersome.
A behavioral test is a test that tests the behavior of a piece of software, as opposed to a test that checks types or implementation details or something else that isn't behavior.
It is perhaps not necessary to write tests like these in languages that produce code that does not have bugs. I have yet to encounter such a language.
>If declaring structs is seen as costly overhead that complicates coding, tests are when more cumbersome.
You do not write tests then?