Suljettu

Small Java Unit test for new method

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.

Taidot: Java, Ohjelmistojen testaus, JUnit

Näytä lisää: java unit test pdf creation creator, write unit test cases java hsbc, unit test file transfer java, refactor java unit test, create a small java program, it is a small java program, java unit test, parasoft jtest unit test assistant for java, visual studio new unit test project, unit test generator java, a new method to estimate arterial blood pressure using photoplethysmographic signal., unit test case generation java, multithreaded unit test java, what makes a good unit test, how to unit test a website, how to write unit test cases in java, how to replace a character in a string in java without using replace method, marks of 12 students in a unit test are given as, marks of 12 students in a unit test are given as 4 21 13 17 5 9 10 20 19 12 20 14, java 8 lambda unit test

Tietoa työnantajasta:
( 39 arvostelua ) Wembley, United Kingdom

Projektin tunnus: #22704250

10 freelanceria on tarjonnut keskimäärin 33$ tähän työhön

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.

$70 USD 2 päivässä
(319 arvostelua)
7.2
ARKSolution2015

Sir, I have gone through your project description and am looking to provide my service for java Junit class [login to view URL] leave a message on my chat so we can discuss the budget and deadline of the project. For more than Lisää

$30 USD 1 päivässä
(81 arvostelua)
6.2
devetar

As a full time java developer since 2010 I can help you with your project. I'd have to see the code first, but seems clear

$20 USD 2 päivässä
(81 arvostelua)
5.6
JDeveloper91

Hello. I am a Java Developer since 7+ years and working in a High production environment of web based development for 3 organizations together. I am sleek experienced in JUnit, Selenium. You can contact me for your Lisää

$70 USD 1 päivässä
(1 arvostelu)
0.6
tranxuanhao

I'm a freelancer. I got a Bachelor IT certificate on 2013. I have 3+ year in web development. I provide services with enthusiasm, creativity, pay until you are satisfied with my quality services and reach your purposes Lisää

$30 USD 1 päivässä
(0 arvostelua)
0.0
yogestr

I have been implemented the similar unit test in my previous projects, I can deliver this covering all the scenarios mentioned in the description.

$20 USD 2 päivässä
(0 arvostelua)
0.0
sigan1

Hi, I am certified Java Software Engineer with 3 years of experience from Germany. I did lot of unit tests using mockito, powermock and junit. I also have experience with test driven development.

$10 USD 1 päivässä
(0 arvostelua)
0.0
nubelo_TYlB3dCh

Hi ! My name is Diego Saez. I need know which library for unit test you use. It's to know if I can help you with your project. thank you !

$15 USD 3 päivässä
(0 arvostelua)
0.0
HarryGill8

Hi There, Thanks for your attention. I have gone through the requirements and looks straightforward. I have always written similar tests in my previous projects (every project). I have over 10 years of java developme Lisää

$30 USD 7 päivässä
(0 arvostelua)
0.0
varaprasaddasari

I have 3 years experience in testing and automation testing as well

$35 USD 1 päivässä
(0 arvostelua)
0.0