-
Notifications
You must be signed in to change notification settings - Fork 1
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
Test Suite borked #23
Comments
i can definitely see how TDD is so important, because i feel like everytime i fix something i break something else at the moment. Just wondering whats the best way for me to use github with this project, as i dont want to stuff up any of your work. Should i use a new branch everytime i work on a change? then merge them over if it works? Thanks again for all your help on this project! i was almost at the point of giving up but now i have my enthusiasm back for it |
I'm trying to use one branch per controller fixed right now. Then pull request. At first I was using your c9 ide. I'd say the branch & merge gives us a good handle on how to pull back or compare anything bad. Everytime I work on master, I regret it. My only observation is the merges get really huge if not done every day or other day & it gets tough to decide whats needed. I try to push the branch to repo every time I log off. Then if someone is paying attention they can flick their the branches & see if there's new work being done. We could extend that by linking to the work (commit url or hexi code) in a comment on the issues it addresses - that way I basically get a notification every time you update anything in the project & I can avoid that area or give suggestions too. |
alright thanks for that i'll stop using the master branch now and make sure i check all your commits before starting to code. is this the correct process for pushing commits from a branch |
So this process is called "workflow" ...
Use of If you're feeling really lazy use Best practices say you should be using |
Thanks for that @Mirv Mirv, i'll 100% be following that to the letter from now on. |
After the git merge is done on the master does that branch disappear? i.e i create a branch following your steps the merge it back to the master then push up the commits can i go back to that branch to keep working without generating any problems? |
To rephrase all of that simply, after you merge that branch - you are done using it. There's a bunch of reasons for this, but the jist of it is the master is the nexus (centerpoint) where all fixes & features meet, branching off master is always preferred. (the reason I kept working off recipeVersion2 before was that I wasn't a full contributor on the project & couldn't merge to master). |
Awesome thats what i thought one branch one problem/feature then done. |
Basically yes, but they don't count master as a branch |
Test suite runs now as of #30, individual errors & failures can still happen, but the code doesn't crash immediately regardless of test |
From other comments ...
Brute force removal of files reveals the fixtures in at least 2 files are killing all entrees...haven't isolated which ones. This is somehow related to the
comment
system from disqus. I'm working on it, but might just regenerate the entiretest/
folder & then paste back in your tests.On the comments ... The long story is we will have to test those disquis comments with stubs in our program & then there will be an integration test to ensure the words we enter on the comment are being saved & served back to use by disquis.
We absolutely have to do this as I spent 7 hours chasing back & forth between the
user_id
&chef_id
, then some more on thecurrent_user
versusset_user
. This is before we even get into the more complicated controllers you have.I'll start that work when I know where we stand on your repo system with your other work. @jatwell93
The text was updated successfully, but these errors were encountered: