Færdiggjort

Create a JUnit 4 Test within Eclipse for the provided ADT

Prepare a JUnit 4 test within Eclipse, named [login to view URL], for the provided 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.

NumberSequence must not be edited for the tests to complete/pass. The tests must be designed so that any complete & correct implementation of NumberSequence will pass.

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.

* Any formatting is acceptable.

*/

@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.

Again, 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 - Tests pass by assuming any completed/correct implementation of NumberSequence, every single one of the tests pass. (Do not edit NumberSequence to pass the tests, the tests are written with the assumption that any correct implementation of NumberSequence will 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 also need a separate .txt file of the mutators and accessors:

Mutator - any member function that changes the state of an object.

Accessor - any member function that examines the state of an object but does not change the state of that

object.

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.

Evner: Java, Software Arkitektur, Software Testning, JavaScript, C++ Programmering

Se mere: create multiple choice test, create scorm package test, create simple online test, create download speed test flash, create simple testcomplete test, create multiple choice test using rails, create flash bandwidth test, create broadband speed test, create online examination test project, junit test eclipse ibatis, junit spring ibatis eclipse, ibatis unit test eclipse, create html personality test, create simple facebook test, how to run junit test eclipse, create junit in eclipse, eclipse create junit tests

Om arbejdsgiveren:
( 10 bedømmelser ) Arlington, United States

Projekt ID: #29465161

Tildelt til:

devvitaliy

Hello JAVA EXPERT I have read your description and I am so interested in your project. You can see well experienced and skillful Java +15 years of experience in software development. Confident in your project and I can Flere

$50 USD på 1 dag
(31 bedømmelser)
4.8

4 freelancere byder i gennemsnit $145 timen for dette job

liveexperts123

Hi there,I'm biddin on your project "Create a JUnit 4 Test within Eclipse for the provided ADT" I have read your project description and i'm confident i can do this project for you perfectly.I still have a few question Flere

$250 USD in 6 dage
(90 bedømmelser)
7.8
umg536

Hi there, I'm bidding on your project "Create a JUnit 4 Test within Eclipse for the provided ADT" Being an expert in C, and C++ programming I can do this project for you. please leave a message on my chat so we can di Flere

$250 USD in 6 dage
(31 bedømmelser)
6.9
zhongjinshao9999

Hi Client. I have skills like java and I am an expert for it. I would like to work with your project in full time and also can make your project perfectly. Please contact with me and discuss with your project.

$30 USD på 1 dag
(5 bedømmelser)
2.3