LaunchCodeEducation / LaunchCodeEducation/csharp-web-dev-curriculum

GA2 Task 4 Uses different property name for location than name set in Task 3

Open
#80 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
1
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Relevant link

Text states:
Task 3:
2. Code a second constructor that takes 5 parameters and assigns values to name, employerName, employerLocation, jobType, and jobCoreCompetency. Also, this constructor should call the first in order to initialize the id field.

Task 4:

  1. In JobTest, define a test called TestJobConstructorSetsAllFields.
  2. Select one of the Job objects with the full constructor to test that the object is assigned the correct properties.
  3. Use Assert statements to test that the constructor correctly assigns the value of each field as follows:
    1. "Product tester" for Name
    2. "ACME" for EmployerName
    3. "Desert" for JobLocation
    4. "Quality control" for JobType
    5. "Persistence" for JobCoreCompetency

Suggested change:
Task 4 text 3.3. Reads "Desert" for EmployerLocation

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the linked Tech Jobs OO Task 4 page and compare its full-constructor test instructions with Task 3. Change the third expected value from JobLocation to EmployerLocation, then verify that the surrounding constructor test instructions consistently use the latter name.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.