Marco Castellani's Library tagged → View Popular
24 Jun 09
java.net: A Dozen Ways to Get the Testing Bug in the New Year
-
Writing tests first is a programming technique that takes practice, and lots of it. Accept the fact that you won't see miraculous results overnight. Experts say it takes a minimum of 21 days to build a positive habit and six months for it to become part of your personality. So when you feel yourself backsliding, don't despair. Just keep pressing on and pay careful attention to mental assertions you're making that could be codified in tests. Your brain will love you for it!
23 Jun 09
java.net: A Dozen Ways to Get the Testing Bug in the New Year
-
Notice that the result checking is now codified in the use of
assertEquals()methods that automatically check whether the expected value (the first parameter) matches the actual value (the second parameter). There's no need for you to remember what the correct results should be. -
Most Java IDEs have an integrated graphical runner just waiting to stroke your ego, such as this runner in Eclipse:
- 5 more annotations...
22 Jun 09
Clarkware › JUnit Primer
-
unit tests are written to test the
fundamental building blocks of the system from the inside out. -
Any class that contains
test methods should subclass theTestCaseclass. - 3 more annotations...
11 Sep 08
Unit testing with JUnit and EasyMock - Michael Minella
-
This is what separates a unit test from other types of tests. In order for it to be a unit test, it must test something in isolation, aka without dependencies. The reason for this is that we are testing the component itself and not it's interaction with other components (that is an integration test).
-
In test driven design, we develop the unit test before the functionality.
- 3 more annotations...
09 Sep 08
EasyMock : Home
-
Unit testing is the testing of software units in isolation.
However, most units do not work alone, but they collaborate
with other units. To test a unit in isolation, we have to
simulate the collaborators in the test.
A Mock Object is a test-oriented replacement for a collaborator.
1 - 11 of 11
Showing 20▼ items per page
Selected Tags
Related Tags
Sponsored Links
Ads by Google
Top Contributors
Groups interested in testing
Related Lists on Diigo
-
软件测试 Softwaretesting
软件测试,SQA
Items: 29 | Visits: 350
Created by: swan lin
-
testing
Apps and services that I am...
Items: 132 | Visits: 98
Created by: Tom Hamsher
-
Grammar and Testing
The Best websites for gramm...
Items: 10 | Visits: 88
Created by: eflclassroom 2.0
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo
