Java Unit test
$25-35 USD
Betalades vid leverans
I am looking for a core Java developer to write unit tests for four methods from class from a Java project. This part of the Java code deals with updating of two fields in the account table. These fields are “status” and “level”.
The account holder subscribes to our service and in turn has users that access his/her resources.
Level - This currently has values of “FREE, STANDARD, STARTER,PROFESSIONAL, PAYU, CUSTOM”. The values “PAYU, CUSTOM” are rarely used. This is the level of the subscription. This is chosen by the account holder.
Only a certain amount of users can access his/her resources before the user has to update his/her subscription level.
Status - this field has values of “NORMAL, EXPIRED, DEACTIVATED”. This tells us if the user has gone over his/her subscription level and what should happen.
The status is updated, if necessary, when when one of the account holders users tries to accesses one of his/her resources.
There are some rules that determine whether an account should be “EXPIRED” or “DEACTIVATED” or set to “NORMAL”.
The coder should be able to refactor the code to make it suitable to write unit tests if necessary also fix any bugs that will arise from the unit testing of the code.
The class is called “AccountServiceHelper” and this has several methods to be tested. These include:
/**
* Expire, lock or re-set accounts after the assessment is taken.
*/
public void check()
/**
* Is the given date within a month of today’s date.
*
* @param date - the given date
* @return Return true if the given date within a month of today’s date
*/
private boolean isGivenDateWithinMonth(Date date)
/**
* @return Return true if we are into the next customer month after the
* account has been expired or deactivated.
*/
public boolean getIsStartOfNextCustomerMonth()
/**
* Assuming the account is active this gets the date of the last subscription payment.
*
* @return Returns the date of the last subscription
*/
public Date getLastSubscriptionPaymentDate()
Projekt-id: #12915707
About the project
27 frilansare har lagt bud på i genomsnitt $39 för det här jobbet
Hi there, I would like to do this project if given the opportunity. Let me know if you are interested so I can have further details. Thanks.
Good Day! i'm expert java dev with 8 years experience in IT area working with cutting edge technologies for both web application and software development. Kindly Regards
I have good knowledge in below mentioned skills by you. I also have some certifications in Java. I can share some of demos with you if you want for better understanding. Currently I'm working on a banking project in an Mer
Hi, I am Saravanan from Chennai, India I am interested to apply for this work as I have hands on experience in Junit,TDD We can do this task by Junit and java, I have done similar task and can be completed by today. Mer
Hi, I am a Professional freelancer. I specialize on smaller projects like this one is. I am also a student of a theoretic Informatics so I can do the job with top quality outcome. Regards, Bc. Martin Risa
Hello, Hope you are doing well we are premier brand in Web Design, Development, technical writing, script editing & Internet Marketing Solution provider. We have a handpicked team of artistic designers, skilled d Mer
I am interested to working your project and i can do this job i have experience in Java and Android.
I have been working with java since 2005. So writing this test is a matter of understanding the business logic described in the project description.
Hello, I am a java expert and very much interested to work on this.I promise you to give quality work if you accept my bid. Cheers, Rajeesha
I am a ISTQB Certified Software Testing Professional with over 10 years of experience in Testing high volume Financial Applications. Have great experience in Automation testing using tools like Selenium. Had execute Mer