Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Final checks?

 
John McParland
Ranch Hand
Posts: 92
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I apologise in advance for my nervousness. I think I've finished my assignment and I am now looking to submit it.

In the way of final checks I have;

re-run unit tests I wrote,
re-run the adapted DataClassTest from Roberto,
fully system tested the application using formal tests I wrote,
code-reviewed everything myself,
reviewed my choices.txt,
checked the submission jar has everything it needs to (in the structure it needs to).

I've also enlisted the help of some colleagues to test it out (with cakes used as persuation) and no issues thus far. But I'm still nervous and I was wondering what others had done before submitting the assignment.

Regards,

John
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi John,

Because I wanted to submit before taking the essay exam, I was short in time (submitted the assignment 45 minutes before having to take the essay exam). I underestimated writing down the choices.txt, it took a whole lot longer than initially planned. So I didn't had time to execute some final checks.
But I was really confident, because I had created an Ant build file which runs all the tests (Data class, business services, structure submission jar,...) after creating the submission jar. So as a final check I did a final quick review to see if submission jar could be opened and the runme.jar could be executed using -jar option.

Kind regards,
Roel
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Running Roel's test is of extreme importance, as it verifies the structure that must be obeyed, or an automatic failure will occur.

In terms of code, the thing that gives you more chance to fail is the locking mechanism. You can also run the tests I prepared for that, and if you pass these tests, then it is pretty likely that you will join our private SCJD club!
 
John McParland
Ranch Hand
Posts: 92
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys.

I've already written choices.txt. I wrote it as I came accross a particular problem I had forseen and used it to inform my design decisions, so hopefully that side will be ok.

I've also tried the process of extracting the submission jar and running runme.jar.

Roel: from your post, am I right in infering that you have an automated way of checking the submission Jar structure?

Regards,

John
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi John,

I created an Ant build file which verifies the structure of the submission jar according to my instructions. It contains tests like:
  • Does Data implement the required interface
  • Does it have the necessary documents
  • Are the exceptions from the given interface in the correct package
  • Do the exceptions from the given interface have the required constructors
  • ...

  • It builds the complete (javadoc and rmi stubs included) submission jar according to the instructions. Because I was short in time this build file was a real life saver: no worries about forgetting a file or putting some files in a wrong directory You can find it through the ScjdFaq or just click here.

    Important remark: It could need some minor changes to be consistent with your own instructions.

    Kind regards,
    Roel
     
    John McParland
    Ranch Hand
    Posts: 92
    Eclipse IDE Java Spring
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Hi Roel,

    minor changes made to the TestSubmissionJar class and it passed 1st time woo hoo. Maybe I should stop worrying and get it submitted.

    I'd used a shell script to build everything manually.

    Thanks again,

    John
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic