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

automatic failure

 
TomTom Lee
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sun should provide a simple batch file that you can run against your jar file before you hand it in. The batch file should check for all of the stupid formatting, file placement, and version errors that can lead to automatic failure. It's just ridiculous that someone can fail for a small careless error like that. It would be so easy for them to make one.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If only we were allowed to use Test Driven Development.

Regards, Andrew
 
Ken Boyd
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SUN shouldn't ask you to take out $150 for simple error like spelling mistake but charge us if application has serious gotchas in locking that will be fair deal. If it is fail in simple auto test of correct file name, path or directory structure simply reject it and allow resubmission without charge because no employee time was waste at SUN side since it was auto test. But hey who we are to tell them you give it or leave it...
 
Mihai Radulescu
Ranch Hand
Posts: 918
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi TomTom,

I think thats exactly what sun expect for us, to liver a tested application. Andrew point it Test Driven Development. I think that if the sun will provide us some (general) test this will make your task to easy and somehow will limit your "freedom of decision". What I find anyway strange is that you are not allow to send your test with - maybe to keep the things as easy as possible.


Regards M
[ June 17, 2007: Message edited by: Mihai Radulescu ]
 
Jeremy Botha
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Speaking as the devil's advocate, I can see their point. They probably have to deal with a lot of submissions, and to wade through them and attempt to work out why they're not working would be painful and time-consuming.

I presume they have an application which does the first evaluation of submitted jars, looking for the expected directory structures etc.

Otoh - if you're spending $150 of your own money, it kind of makes sense to rigorously check your submission before it gets uploaded.

J
 
TomTom Lee
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think some of you are missing my point. I don't mean a batch file that tests the application functionality. I'm talkin about a batch file that tests things like whether the userguide.txt file is in the right place, or if you spelled DBMain correctly. Ya know? It's one less thing to worry about for us, and it will make failures limited to actual program errors.
 
chris bajada
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Otoh - if you're spending $150 of your own money


price gone up to $200 recently
 
Jeremy Botha
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by TomTom Lee:
I think some of you are missing my point. I don't mean a batch file that tests the application functionality. I'm talkin about a batch file that tests things like whether the userguide.txt file is in the right place, or if you spelled DBMain correctly. Ya know? It's one less thing to worry about for us, and it will make failures limited to actual program errors.


To be fair towards Sun; they explicitly state the structure in the submission documents, so they could argue caveat emptor.

J
 
Erkin Kanlioglu
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi People

I have small questions regarding automatic test.

1-) Are we talking about only documents' name or place when we talk about automatic test ? Is there anything else ?

If we are talking about unit tests by using DBAccess interface as well, i have one more question.

2-) Application Submission document doesn't mention about how to initialise Data file which means some of us can use constructor, some of static initializer.

Shortly I mean if Sun thought

DbAccess access = new Data(); // or new Data(File file)
rest of unit test

I failed already.

What do you think ? Do you think that examiners change Data class initialization for each submission ?

Thanks
 
Ken Boyd
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Erkin K.:
Hi People

I have small questions regarding automatic test.

1-) Are we talking about only documents' name or place when we talk about automatic test ? Is there anything else ?

If we are talking about unit tests by using DBAccess interface as well, i have one more question.

2-) Application Submission document doesn't mention about how to initialise Data file which means some of us can use constructor, some of static initializer.

Shortly I mean if Sun thought

DbAccess access = new Data(); // or new Data(File file)
rest of unit test

I failed already.

What do you think ? Do you think that examiners change Data class initialization for each submission ?

Thanks


come on he has to provide database location i.e. file name to Data class otherwise how on earth will data class knows about db

even in my assignment tester has to follow

DB access = new Data(Filename_location); // or new Data(File file)
 
Erkin Kanlioglu
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ken

Same here. I have some kind of paranio about this automatic test. It might be because i dont want to pay 150� again

Cheers
 
Ken Boyd
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Erkin K.:
Hi Ken

Same here. I have some kind of paranio about this automatic test. It might be because i dont want to pay 150� again

Cheers


Hi Erkin,
Do you know why you fail? SUN provide explanation not much but point towards section where you are wrong.

Ken
 
Erkin Kanlioglu
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ken

When i said "I failed already", I meant that If sun think that way(I explained), I will be failed.

Shortly, I use wrong english sentence to say something
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic