If your tests are simple, so will your code will be. -AuthenTec, the world leader in fingerprint. -Cross Match Technologies, Inc. There are good and bad ways to do TDD. The test fixture should be simple and the assertions few.
;;;;; *MAKU* IMMENSE COVERAGE *MAKU* Trade Date: Monday, December 4, 2006 Company Name: MAKEUP LIMITED (OTC BB:MAKU.OB) Symbol: MAKU Last Trade: $0.61 MAKU Target: $2 Why get in MAKU? Don't if "profit" is not in your vocabulary. JUST WATCH MAKU TRADE NEXT MONDAY, DECEMBER 4TH! ;;;;; I wonder if anyone has ever come up with an industry definition of what is IT? So we can mock IDEA in IDEA? He as many others seem to have misunderstood what it's all about. So I started in ThoughtWorks UK a month ago. So we can mock IDEA in IDEA? But it's better than having to maintain a CheeseAction and a MockCheeseAction. If your test is too complicated, you're not doing it right. In fact, the best advice can come from those who are junior. The derived "mock" implementation within the test may not be overriding anything in the superclass anymore, and the test may fail to execute the methods originally intended. , a leader in wireless public. This action is now a PicoComponent, honouring constructor based dependency injection. While this is a noble goal, it is not the only good reason to use mocks. thoughtworks even if Piotr is not a Thoughtworker. Maybe the real answer is to only buy stuff made in the USA. You will catch bugs sooner rather than later. If you do, you're not testing the real thing. Before I delve into the details, let me recap some simple mock essentials. This can incur some percieved overhead in the codebase, as the developer will now have to maintain both a CheeseDao and a HibernateCheeseDao. The package scope is even com. Then what's more natural than moving the blog too? thoughtworks even if Piotr is not a Thoughtworker. There are good and bad ways to do TDD. Figured I needed to correct this mistake. So I started in ThoughtWorks UK a month ago. He as many others seem to have misunderstood what it's all about. -Like always doing the simplest thing and continuosly refactor the code. Calling the CheeseDao. -Like always doing the simplest thing and continuosly refactor the code. There is more to it than writing the tests first. This is because with TDD you don't write code you "think you might need". One of them feels like good architecture and a step backwards at the same time. There is more to it than writing the tests first. -AuthenTec, the world leader in fingerprint. The test fixture should be simple and the assertions few. After all, the overridden saveCheese method in the "mock" calls the superclass' method, right? Its class is generally an implementation of an interface or a subclass of some class, either generated dynamically or statically coded. In fact, the best advice can come from those who are junior. Check out QDox Attributes! Many of the "mocks" in this codebase are not really proper mocks, apart from having the word "Mock" in their name. The derived "mock" implementation within the test may not be overriding anything in the superclass anymore, and the test may fail to execute the methods originally intended. , a leader in wireless public. , a leader in wireless public. -Like always doing the simplest thing and continuosly refactor the code. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]