Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update debugging & tips text #270

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions module1/projects/dmv/iteration_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ You should explore:
* Take note of the project folder structure. Is there anything you haven't seen before?

### Debugging
If you haven't already, run the tests now. You should see some failing tests. Work through fixing the code until the tests pass. You only change the application code, not the tests. It might be helpful to run each test one at a time and fix one by one.
If you haven't already, run the tests now. You should see some failing tests. Work through fixing the code until the tests pass. You will only change the application code in `spec/dmv_spec.rb`, not the tests. You will make updates to the tests in `spec/dmv_data_service_spec.rb`, not the application code. It might be helpful to run each test one at a time and fix one by one.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"You will only change the application code in spec/dmv_spec.rb, not the tests." is a bit contradictory. dmv_spec is a test, not application code.


_**TIPS**_

* You should not have any failures in `spec/dmv_data_service_spec.rb`. If you do, please notify an instructor.
* You should not change any of the existing tests for the debugging portion of the project. Change the application code, not the specs.
* You may have some failures in `spec/dmv_data_service_spec.rb`. Read the failure/error and make the suggested updates to the tests that are failing. Make some reflections on why writing more dynamic test could prove more beneficial on an application that is pulling data from an external source.

* For the debugging portion of the project, you should not change any of the existing tests in the `spec/dmv_spec.rb`. Change the application code, not the specs.

You should see the following errors:

Expand Down