LaunchCodeEducation / LaunchCodeEducation/csharp-web-dev-curriculum
GA2 Task 4 Uses different property name for location than name set in Task 3
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 1
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
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:
- In JobTest, define a test called TestJobConstructorSetsAllFields.
- Select one of the Job objects with the full constructor to test that the object is assigned the correct properties.
- Use Assert statements to test that the constructor correctly assigns the value of each field as follows:
- "Product tester" for Name
- "ACME" for EmployerName
- "Desert" for JobLocation
- "Quality control" for JobType
- "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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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