Java Unit Tests and Fix Bug

Closed Posted 4 years ago Paid on delivery
Closed Paid on delivery

We are looking for a Java developer with Java unit testing skills.

This project has two parts:

1) A new method has been added to a class and we would like to add some unit tests for this method. This method checks if users have exceed their storage usage.

The method first warns the user when nearing the account limit and then if the user exceeds the limit it changes the status (disables) the account.

The following tests should be completed:

- Check to ensure that the account is NOT warned or the account status is not changed when the storage level has NOT been reached.

- Check that account is warned for FREE accounts only when the limit is reached.

- Check that that account is warned only once by increasing the usage.

- Check that the account status has been changed to disabled when the account exceeds its storage limit.

- Decrease the usage but not by enough to reset the account. Ensure that the account status is still disabled.

- Change the account status back to normal and reduce the storage limit to below the allowed limit and then increase the limit and ensure that the account is warned again.

2) We are are using Stripe for subscriptions.

We have coded REST API coded in Java that is triggered when payments cannot be collected and sends an email to an email address.

This code is not working. We would like help to establish why this is not working and help in getting this fixed.

Java Software Testing JUnit

Project ID: #21796808

About the project

13 proposals Remote project Active 4 years ago

13 freelancers are bidding on average $30 for this job

utkarshkatiyar19

Hi, I'm an expert in java programming. I'm sure that I can easily do this project for you. We can have a chat about it. Thanks.

$80 USD in 2 days
(320 Reviews)
7.2
mehmood168

Hi. I am a Full Stack Java Developer having 5 years of experience. I have also worked on JUnit. After reading your requirements, I would like to take this project and available to start working on it. Let's discuss on More

$70 USD in 2 days
(45 Reviews)
5.3
BeshoyMousaKhair

hi , it's not a difficult task for me and i can do it as required and in time , thanks in advance .

$40 USD in 7 days
(59 Reviews)
5.0
hamzasalim110

Hi, I have more than 7 years of experience in Java and I can help you on this. Lets discuss it further. Thanks, Hamza

$20 USD in 3 days
(1 Review)
2.8
happycodingai

 Total Ten Years plus experience in JAVA & J2EE technologies. Top quality architecture and development skills using JAVA & J2EE, Spring, Hibernate, AngularJS, Maven, ActiveMQ, Camel Docker, Openshift.  Currently work More

$20 USD in 7 days
(2 Reviews)
2.8
priyanandrai

Hi Reader I have 5+ years of experience in java development, I can help you with your request, more we can discuss in details Regards Amit rai

$15 USD in 7 days
(11 Reviews)
2.3
yogeshchavan2008

hi, I am good at junit and can do this task seamlessly . have done recent projects with junit and have received good feedback about them. thanks

$25 USD in 3 days
(4 Reviews)
2.4
avnigarg19

Hello I am a unit test expert. So far I've a wealth of experience in writing JUnits for web apps. If you give me a project, I will submit to you excellent results. I hope to hear from you

$20 USD in 7 days
(0 Reviews)
0.0
vw6694376vw

I am having 11 years of rich IT experience in product development in Java/Spring boot. Though new to freelancer project but contains plenty of experience in coding.

$20 USD in 7 days
(0 Reviews)
0.0
bhartigulati3

I am Bharti Gulati having 5+ yrs of experience as a Java developer. My skill set includes Java, Advance Java, Spring, Spring MVC, Spring Boot, Hibernate, Junit, JPA, HTML, CSS, Bootstrap and angular. Please feel free t More

$20 USD in 7 days
(0 Reviews)
0.0