Blogs1 - 10 of 269 recent posts for tag:junit
22
Nov
2009
Lessons on testing a JPA Dao

1 day ago by Martin Harris

I spent this week working on a task to migrate Hibernate DAOs over to a JPA implementations. By the end of the week my colleague and I had the first working DAO and a full db unit test. We were asked for an estimate to migrate the rest. My estimate was big. 43 DAO units and 153 methods! On further r ...

Transient Technology - martinaharris.com · 1 reference

20
Nov
2009
OOPD – Uge 2, tirsdag

2 days ago by sorendahlgaard

Design by Contract Først lige et hængeparti. Jeg har endnu ikke snakket om clients og servers, hvilket er nødvendigt for at forstå dette indlæg til fulde. Følgende erdefinitionen i vores bog: A client queries and commands a server I eksemplet fra sidste gang med spillet Nim ville vores Pile objekt f ...

Søren's Blog - sorendahlgaard.wordpress.com

Testing the coverage metric of JMockIt

2 days ago by Carsten

After yesterdays article about Code Coverage terminology I thought more about the code coverage metric JMockIt uses. I created a simple class to get more insights: CoverMeSimple.java package de.kopis.katas; public class CoverMeSimple { public int simple(int x, int y) { int z = x; if(y > x) z = y; z ...

KOPIS.DE - kopis.wordpress.com · Rank: 71,349 · 15 references

Micro-Scrum: Agile Development for the 1-Man Army

2 days ago by Kris

I’ve found that Scrum, and Agile methods in general, are incredibly valuable in single-man “teams” if done properly. In my experience though, there are some sticking points that need to be worked through with how you work with your clients and manage communications. These will have a significant imp ...

R. Kris Hardy - rkrishardy.com · 4 references

19
Nov
2009
Faire des tests combinatoires avec les theories JUnit (partie2)

3 days ago by Masclet

Lors du précédent post je vous parlais des Theories. Aujourd'hui je vous propose d'aller un peu plus loin dans la définition du jeux de données en faisant de la combinatoire et en définissant un jeux de données dynamiquement. Disons que l'on veuille tester une méthode avec un jeux de données spécifi ...

Blog de David MASCLET - davidmasclet.gisgraphy.com · 1 reference

Java/J2EE Walk-in

4 days ago by Editor

Walk-in Interview on 21-11-2009 KINDLY COME AND ATTEND THE INTERVIEW WITHOUT FAIL. NP-1WEEK POSITION: CONTRACT TO HIRE CLIENT – CMMI LEVEL 3 PANEL IS PERSONALLY VISITING AT OUR PREMISES ON 21-11-2009. EXPECT YOUR KIND PRESENCE! Experience: 3.06 years – 5 years Education: Graduate in Engineering / Po ...

thewalkin.com - thewalkin.com · 6 references

18
Nov
2009
Anforderungen an die Dokumentation / JUnit Tests

4 days ago by Jörn Dreyer

In der Regel ist jedes Feature mit mindestens einem JUnit Test zu testen. Fr jedes Szenario wird eine Testmethode geschrieben, die die textuelle Szenariobeschreibung im JavaDoc enthält. Außerdem soll aus dem JavaDoc fr die Klasse ersichtlich sein zu welcher Anforderung aus dem Anforderungsdokument s ...

SEBlog - seblog.cs.uni-kassel.de

17
Nov
2009
Units are Not Classes: Improving Unit Testing By Removing Artificial Boundaries

5 days ago by The Rally Software Engineering Blog

Many developers think of unit tests as tests that test a single class. In fact, I myself once thought this way. If I wanted to write unit tests for a two-class system in which a class used another class, I’d write two unit tests. After all, if I created instances of both classes in my test, that wou ...

Absolutely No Machete Juggling - nomachetejuggling.com · Rank: 131,207 · 31 references

16
Nov
2009
Comparing Scala and Groovy via ScalaTest and easyb

6 days ago by Andy

Because it’s my bag, I’ve recently taken to learning Scala. In particular, I’ve run across some situations where I’ve known instinctively that a more functional language (i.e. one that avoids state and mutability) would have perhaps made the task at hand a bit easier or at least safer to code (think ...

The Disco Blog - thediscoblog.com · Rank: 52,752 · 29 references

15
Nov
2009
Free JUnit and EasyMock Cheat Sheet

7 days ago by Gizmo

A free JUnit and EasyMock cheat sheet from DZone. Unit testing and test driven development are proven ways to improve both the productivity of a developer and the quality of their software. JUnit and EasyMock are the predominant choices for testing tools in the Java space. This reference card will g ...

Code Beach - blog.codebeach.com · Rank: 89,308 · 12 references

Previous1234567