I see, Thank you both for your comments.
On Wednesday, February 15, 2017 at 7:23:25 AM UTC-8, Ian Lance Taylor wrote: > > On Tue, Feb 14, 2017 at 10:35 PM, <so.q...@gmail.com <javascript:>> > wrote: > > > > From my understanding Unit Tests should focus on testing a single > feature > > and not use the filesystem. > > > > But in the Go source (https://github.com/golang/go) I saw several tests > that > > would violate those conditions. > > > > Should we strive to follow more standard conventions in our own unit > tests? > > or are those tests idiomatic and acceptable for Go? > > The tests in the Go source tree do not attempt to distinguish unit > tests from other sorts of tests. They are all just tests. > > You should follow whatever conventions you think will work best for > you. Personally I would say that unit tests are a good idea but they > are not sufficient; you need some tests of the entire program. > > Ian > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.