Re: [PATCH 1/6] t/checkout-last: checkout - doesn't work after rebase
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Jun 13, 2013, 18:30 UTC
- Message-ID
- <CALkWK0nH5Qjc-PNNH0cAhsgZje7VzuLGqXZwjRQESOxLt-T78g@mail.gmail.com>
- In-Reply-To
- <7vfvwlvr7e.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
> Why two?
What breaks checkout - is the initial HEAD detachment (which writes that "checkout: " message), before anything else happens. None of <onto>, <upstream>, and <branch> make any difference: I'm testing exactly the code that I patched.
I have recently been told that I should be testing "end-user behavior" by treating the programs as black-boxes, instead of "implementation". What is your opinion on the issue? Should I write more tests?