I started using Junit Test with my data layer for the SCJD. This proved to be very useful. epspecially when I started making changes to the code. I would reccommend using JUnit tests since you do not have a QA person to test your app, and after forking out $250 for the project you don't want to fail for some stupid testing error
Originally posted by Lasse Koskela: I'd recommend not including the test code as part of your submission.
Interesting - why?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Joined: Jan 23, 2002
Because they don't want you to send any 3rd party libraries and they want the code to be compilable out-of-the-box or something along those lines. I believe the assignment instructions said something like that.
In addition, even you can submit the testing code together with JUnit.jar, it is still not recommended to do so, becos, the instrctions clearly stated that: You wont receive any bonus points for additional features, but marks will be deducted if there are any errors discovered within the additional features.
Thus, it is not worth to do something that may result in mark deduction.
The following APIs and facilities may not be used: # Enterprise JavaBeans # Servlets, JSP technology, or any other web-oriented APIs # NIO, the New IO facilities # Java DataBase Connectivity (JDBC) and SQL # Java IDL API and CORBA # Third party software libraries or tools (such as browsers)
SO definitely, you can submit your assigment with JUnit classes. You could use it only in your development time.