Find Jobs
Hire Freelancers

Complete a JUnit 4 test using the provided NumberSequence file -- 2

$30-250 USD

Terminado
Publicado hace alrededor de 3 años

$30-250 USD

Pagado a la entrega
Prepare a JUnit 4 test within Eclipse, named TestNumberSequence, for the NumberSequence ADT. Prepare TestNumberSequence with the [login to view URL] package, and write tests against the function implementations within NumberSequence. Note: this will need to be completed within 24 hours. Looking at [login to view URL]() method: /** * Retrieve the first number in the sequence. * * @return first number as an `int` */ public int first() { // Not yet implemented. // This is an exercise in writing tests, not implementation. return 0; // this is a placeholder so that the code compiles. } This function retrieves the first number in the sequence. How is it stored? This is just an implementation question. The only concern is whether this function returns the expected first number as an int. The implementation details are not relevant to writing the test. Next, looking at [login to view URL]() method: /** * List all all numbers generated thus far, in order. * <p> * <b>Any formatting is acceptable.</b> */ @Override public String toString() { // Not yet implemented. // This is an exercise in writing tests, not implementation. return "This is a placeholder so that the code compiles."; } It states that any formatting is accepted, so the test does not need to assume specific formatting for toString. Nothing within the provided NumberSequence file needs to be edited. I will only need the [login to view URL] file that is created upon completion. I have provided a sample of test placeholders, but they are not complete. Overview: 1 - File returned ([login to view URL]) is placed within the [login to view URL] package. 2 - Using a completed correct implementation of NumberSequence, every single one of the tests pass. 3 - One test per mutator, the piece of code performs operations as designed and does not something it was not designed for. I will be running this through Eclipse Java, so it needs to run through that. However, feel free to use whichever methods you prefer as long as the outcome is the same.
ID del proyecto: 29463792

Información sobre el proyecto

3 propuestas
Proyecto remoto
Activo hace 3 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
***I can start now to help in your Java Project with JUnit 4 to get it done in just next few hours*** Hi There, I am interested in the Java task/code/project. Let's start and discuss further on the chat. As I have worked on Java projects for building Web Applications using Java Spring Framework, Spring Boot, Spring MVC, Spring Security, Rest API, JUnit 4 JUnit 5 Testing + Mockito, Postman API monitoring & Testing. Also on Angular as a front-end and MySql for Database. I have also done many Java Programs / Tasks of different topics including (but not limited) OOPS Programming Concepts, Data structure and algorithm, GUI programming, Java 8 New Features, Exception handling, Multi-threading and so on... with conceptual knowledge. - Looking forward to work with you. Cheers! Happy Coding.
$50 USD en 1 día
5,0 (97 comentarios)
5,5
5,5
3 freelancers están ofertando un promedio de $73 USD por este trabajo
Avatar del usuario
Hello Sir/ Ma’am A skilled full stack developer, I have rich experience in JAVA, C, C++, C#, Python, .NET , Mysql, Sql, Ionic , Matlab, ANDROID and ARDUINO. I am very confident with my skills and I'd like to help your business by doing my best. I am able to work full time on your time zone and start working right away. Please confirm that I am one of the best fits for you and drop me a message for further discussion. High-quality & Fast-delivery is promised! Thanks and Best Regards
$140 USD en 2 días
4,6 (21 comentarios)
5,1
5,1

Sobre este cliente

Bandera de UNITED STATES
Arlington, United States
5,0
12
Forma de pago verificada
Miembro desde abr 13, 2018

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.