[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [jgit-dev] JGit unit tests could be more readable.
- From: Shawn Pearce <spearce@xxxxxxxxxxx>
- Date: Thu, 19 May 2011 18:15:56 -0700
- Delivered-to: email@example.com
On Thu, May 19, 2011 at 17:53, Ketan Padegaonkar
> May I suggest that going ahead the tests be written in the form
> "testDoingSomethingShouldHaveThisSideEffect" or
> "testDoingSomethingShouldRaiseError". This ensures that reading the
> testname clearly conveys what is expected of the test.
I can't disagree with this. :-)
I'll try harder in the future when writing test names.