Skip to content

Commit d6ba546

Browse files
Mfortnerandreasprlic
authored andcommitted
/* New Classes and API's */
1 parent 4407e36 commit d6ba546

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

_wikis/BioJava:CambridgeDiscussion.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ not complete. --[Mark](User:Mark "wikilink") 03:16, 15 March 2007 (EDT)
8282

8383
New classes should have an accompanying JUnit test that covers
8484
<b>all</b> methods. People frequently miss equals(), hashcode(),
85-
compare() but these have behaivour contracts that require they are all
86-
in logical agreement. Strange and hard to debug behaivour arises if they
85+
compare() but these have behaviour contracts that require they are all
86+
in logical agreement. Strange and hard to debug behaviour arises if they
8787
are not tested properly. The toString() method should also be tested if
8888
it has been over-ridden because people start to rely on the value it
8989
produces.

_wikis/BioJava:CambridgeDiscussion.mediawiki

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,10 @@ New classes should be accompanied by <b>complete</b> javadocs of <b>all</b> publ
3939

4040
I would like to make this automated so that code checked into the repository is rejected or an email is sent out to indicate that docs are not complete. --[[User:Mark|Mark]] 03:16, 15 March 2007 (EDT)
4141

42-
New classes should have an accompanying JUnit test that covers <b>all</b> methods. People frequently miss equals(), hashcode(), compare() but these have behaivour contracts that require they are all in logical agreement. Strange and hard to debug behaivour arises if they are not tested properly. The toString() method should also be tested if it has been over-ridden because people start to rely on the value it produces.
42+
New classes should have an accompanying JUnit test that covers <b>all</b> methods. People frequently miss equals(), hashcode(), compare() but these have behaviour contracts that require they are all in logical agreement. Strange and hard to debug behaviour arises if they are not tested properly. The toString() method should also be tested if it has been over-ridden because people start to rely on the value it produces.
4343

4444
Can a check for a JUnit test be automated?? --[[User:Mark|Mark]] 03:16, 15 March 2007 (EDT)
4545

46-
4746
== Subversion and Maven ==
4847

4948
There was some discussion about biojava switching to subversion after the 1.5 release and possibly using Maven2 instead of Ant for building.

0 commit comments

Comments
 (0)