Re: [JGIT PATCH 8/6] Fix zero context insert and delete hunk headers to match CGit
- From
Ferry Huberts (Pelagic) <ferry.huberts@pelagic.nl>
- Date
- May 3, 2009, 08:31 UTC
- Message-ID
- <49FD5662.9070004@pelagic.nl>
- In-Reply-To
- <200905031025.53084.robin.rosenberg.lists@dewire.com>
Show 6 quoted lines
> 3) We should have a convention like C Git for marking known breakages. > One option is FIXME, another it so go JUnit 4 and abuse the expected exception > annotation (using it for declaring OK exceptions is pretty bad use anyway I think, > so we might use it for something better), or perhaps the @Ignore annotation which > is meant specifically for this and other cases. A FIXME can be implemented right > away.
standard pratice for junit would be to write a test case on what you would expect to be _correct_ behaviour. obviously that test would then fail. it would be a know failure in the test suite. do not go ignoring it. it's better to keep being reminded that stuff doesn't work :-)