I am so excited, I finally got the very basics of this whole Rspec testing. I've spent the last 2 hours on Chapter 3 of Michael Hartl's Rails Tutorial, just playing with the testing adding code, changing code then running it. It's quite addictive sometimes I'm like "Holy crap!...that's not supposed to do that" then 5 minutes later "Oh yeah it does" :)
You hear people talking about Adrenaline Junkies that are addicted to exercise for the buzz they get, or runners that get the "runners high", well I've just realized programs are code addicts, there is a certain feeling when you finally figure something out (regardless of how small or insignificant it is) that is absolutely addicting.
Now when I meet a super smart nerd who never showers or brushes his teeth I know why....he's a recovering coding addict as to which there is no cure. The problem is: The worst addicts who need the most help, get paid the most and are the most in demand, so there is little chance of recovery.
I'm afraid I am in the early stages of code addiction, no use fighting it so head down and fingers clicking away, if I fix one more error or line of code, maybe just maybe the feeling it will go away:) -Tomorrow-Josh
P.S. Here's some of the tests I was running today:)
Joshuas-MacBook-Pro:test_app joshuakemp$ bundle exec rspec spec/requests/test_apps_spec.rb
..FF..
Failures:
1) Test App Help page should have the h1 'Help'
Failure/Error: visit '/static_pages/help'
ActionController::RoutingError:
No route matches [GET] "/static_pages/help"
# ./spec/requests/test_apps_spec.rb:22:in `block (3 levels) in <top (required)>'
2) Test App Help page should have the title 'Help'
Failure/Error: visit '/static_pages/help'
ActionController::RoutingError:
No route matches [GET] "/static_pages/help"
# ./spec/requests/test_apps_spec.rb:27:in `block (3 levels) in <top (required)>'
Finished in 0.22048 seconds
6 examples, 2 failures
Failed examples:
rspec ./spec/requests/test_apps_spec.rb:21 # Test App Help page should have the h1 'Help'
rspec ./spec/requests/test_apps_spec.rb:26 # Test App Help page should have the title 'Help'
Randomized with seed 49936
Joshuas-MacBook-Pro:test_app joshuakemp$
Tuesday, December 4, 2012
Untreatable Code Addiction
Follow Me
POPULAR POSTS
-
UPDATE September 2016: We are now inundated with bootcamps and it's getting harder to land a junior developer position. I created a co...
-
Yes, obviously Free Code Camp is popular. It's supposed to make things easier for you to learn how to code. My problem is the length of...
-
I have always promised honesty and transparency with this blog. Last time I gave a review about Free Code Camp, I wasn't super supporti...
-
You need a Regular Expression to validate a phone number or a user's email address, so what do you do? Go onto StackOverflow and copy so...
-
What up peeps ! I feel like every day gets better and better, I just gotta' say life is good, No brag, just fact :-) I thought I woul...
BLOG ARCHIVES
-
▼
2012
(54)
-
▼
December
(17)
- BAD WEEK, but good....
- Zed Shaw's: Learn Ruby The Hard Way: Lesson 21
- edX: CS169.1x: Software as a Service
- Mobile App Part: 4
- Mobile App Making: Part 3
- Programming Mentors
- Mobile App: Part 2, jquery mobile
- End of week 7 Ruby on Rails 6 month learning journey
- Made my first mobile app!!!
- Making an App with Rhodes
- Code Retreat!
- Delete is my new favorite word:)
- Halfway through Chapter: 7 Michael Hartl Tutorial
- Untreatable Code Addiction
- Michael Hartl's Rails Tutorial- START OVER:(
- Github is like a creeper:(...and the GOSU GAME IS ...
- South Arlington Space Hacker
-
▼
December
(17)