tag:blogger.com,1999:blog-7821856652257554779.post77343506966078808..comments2023-10-22T12:47:47.534+02:00Comments on Andrzej on Software: 15 TDD steps to create a Rails applicationAndrzej Krzywdahttp://www.blogger.com/profile/06399276063142826365noreply@blogger.comBlogger37125tag:blogger.com,1999:blog-7821856652257554779.post-39659330233607446762008-10-13T07:49:00.000+02:002008-10-13T07:49:00.000+02:00物流网是现代物流产品设备资讯传媒. 中国水工业自动化网面向给排水领域设计院所、自来水厂、污水处理厂及...<A HREF="http://www.modern56.com/" REL="nofollow">物流</A>网是现代物流产品设备资讯传媒. <A HREF="http://www.shuigongye.com/" REL="nofollow">中国水工业</A><A HREF="http://www.shuigongye.com/" REL="nofollow">自动化</A>网面向给排水领域设计院所、自来水厂、污水处理厂及市政管理部门,面向工业污水处理、-<A HREF="http://www.gongkong.com/Common/ProductType/VISON/?m=17" REL="nofollow">机器视觉</A><BR/>-<A HREF="http://www.gongkong.com/Common/ProductType/SONSOR/?m=18" REL="nofollow">传感器</A><BR/>-<A HREF="http://www.gongkong.com/Common/ProductType/FIELD-INSTUMENTS/?m=19" REL="nofollow">现场仪表</A><BR/>-<A HREF="http://www.gongkong.com/Common/ProductType/ADJUST-INSTRUMENTS/?m=20" REL="nofollow">显示控制仪表</A><BR/>-<A HREF="http://www.gongkong.com/Common/ProductType/ANALYSIS-INSTUMENTS/?m=21" REL="nofollow">分析测试仪表</A><BR/>-<A HREF="http://www.gongkong.com/Common/ProductType/ACTUATOR/?m=22" REL="nofollow">执行机构</A><BR/>-<A HREF="http://www.gongkong.com/Common/ProductType/SAFETY/?m=23" REL="nofollow">工业安全</A><BR/>-<A HREF="http://www.gongkong.com/Common/ProductType/ELECTRIC/?m=24" REL="nofollow">低压电器</A><BR/>-<A HREF="http://www.gongkong.com/Common/ProductType/POWER/?m=25" REL="nofollow">电源</A><BR/>工业制水、水文水利、楼宇供水及水泵应用等水工业领域用户,发布和交流各种传感器、检测分析仪表、SCADA设备、监控系统及调速装置的产品、技术、应用、解决方案及市场信息;探讨、推进我国水工业自动化技术、节能技术应用发展。视频,多媒体,自动化,工控视频,自动化视频, <A HREF="http://www.gongkong.tv/" REL="nofollow">PLC教程</A>,<A HREF="http://www.gongkong.tv/" REL="nofollow">变频器教程</A>,软件教程,自动化行业视频新媒体的创造者和领先者-工控TV,教程,播客, <A HREF="http://www.gongkong.com/Common/ProductType/PLC/?m=1" REL="nofollow">PLC</A>,可编程序控制器,自动化软件。同时产品频道有<A HREF="http://www.gongkong.com/Common/ProductType/DCS/?m=2" REL="nofollow">DCS</A> -<A HREF="http://www.gongkong.com/Common/ProductType/PAC/?m=3" REL="nofollow">PAC</A>- <A HREF="http://www.gongkong.com/Common/ProductType/PC-BASED/?m=4" REL="nofollow">PC-BASED</A>-<A HREF="http://www.gongkong.com/Common/ProductType/CPCI-PXI/?m=5" REL="nofollow">CPCI</A>-<A HREF="http://www.gongkong.com/Common/ProductType/CPCI-PXI/?m=5" REL="nofollow"> PXI</A>-<A HREF="http://www.gongkong.com/Common/ProductType/EMBEDDED/?m=6" REL="nofollow">嵌入式系统</A>-<BR/><A HREF="http://www.gongkong.com/Common/ProductType/SCADA/?m=7" REL="nofollow">SCADA</A><BR/><BR/>-<A HREF="http://www.gongkong.com/Common/ProductType/SOFT/?m=11" REL="nofollow">自动化软件</A><BR/>-<A HREF="http://www.gongkong.com/Common/ProductType/HMI/?m=12" REL="nofollow">人机界面</A><BR/>-<A HREF="http://www.gongkong.com/Common/ProductType/ETHERNET/?m=8" REL="nofollow">工业以太网</A><BR/>-<A HREF="http://www.gongkong.com/Common/ProductType/BUS/?m=9" REL="nofollow">现场总线</A><BR/>-<A HREF="http://www.gongkong.com/Common/ProductType/WIRELESS/?m=10" REL="nofollow">无线通讯</A><BR/>-<A HREF="http://www.gongkong.com/Common/ProductType/inveter/?m=13" REL="nofollow">低压变频器</A><BR/>-<A HREF="http://www.gongkong.com/Common/ProductType/HV-DRIVER/?m=14" REL="nofollow">高压变频器</A><BR/>-<A HREF="http://www.gongkong.com/Common/ProductType/STEP/?m=15" REL="nofollow">运动控制</A><BR/>-<A HREF="http://www.gongkong.com/Common/ProductType/DRIVE/?m=16" REL="nofollow">机械传动</A>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-73246706372590718092008-08-06T11:17:00.002+02:002008-08-06T11:17:00.002+02:00This comment has been removed by a blog administrator.note1https://www.blogger.com/profile/00244033208543850840noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-83232879415444459782008-08-06T11:17:00.001+02:002008-08-06T11:17:00.001+02:00障害者結婚相談所 横浜結婚相談所 東京広島 不動産アクサダイレクト野生動物自動車保険出会いサイトアメ...<A HREF="http://www.joy-c.com/index_job.html" REL="nofollow">障害者</A><BR/><A HREF="http://www.exe-elite.com" REL="nofollow">結婚相談所 横浜</A><BR/><A HREF="http://www.exe-elite.com" REL="nofollow">結婚相談所 東京</A><BR/><A HREF="http://www.fudousanget.com/0minato.html" REL="nofollow">広島 不動産</A><BR/><A HREF="http://www.jidousya-hoken.net/details/axa" REL="nofollow">アクサダイレクト</A><BR/><A HREF="http://www.greenclick.jp/detail.php?organization_id=50" REL="nofollow">野生動物</A><BR/><A HREF="http://www.jidousya-hoken.net" REL="nofollow">自動車保険</A><BR/><A HREF="http://deai-ch.jp/?c=home" REL="nofollow">出会いサイト</A><BR/><A HREF="http://www.jidousya-hoken.net/details/ameho" REL="nofollow">アメリカンホームダイレクト</A><BR/><A HREF="http://www.greenclick.jp/" REL="nofollow">募金</A><BR/><A HREF="http://www.2dou3.com" REL="nofollow">不動産</A><BR/><A HREF="http://www.ryoko.gr.jp/mailorder/index.html" REL="nofollow">アスクル</A>note1https://www.blogger.com/profile/00244033208543850840noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-3465343507515480012008-08-06T11:17:00.000+02:002008-08-06T11:17:00.000+02:00自動車保険 比較自動車 保険 見積出会い 出会い系出会い系サイト国際協力治験人権問題盲導犬自動車 保...<A HREF="http://www.jidousya-hoken.net" REL="nofollow">自動車保険 比較</A><BR/><A HREF="http://www.jidousya-hoken.net" REL="nofollow">自動車 保険 見積</A><BR/><A HREF="http://deai-ch.jp/?c=home" REL="nofollow">出会い</A> <BR/><A HREF="http://deai-ch.jp/?c=home" REL="nofollow">出会い系</A><BR/><A HREF="http://deai-ch.jp/?c=home" REL="nofollow">出会い系サイト</A><BR/><A HREF="http://www.greenclick.jp/detail.php?organization_id=51" REL="nofollow">国際協力</A><BR/><A HREF="http://www.chiken-jcpo.jp/" REL="nofollow">治験</A><BR/><A HREF="http://www.greenclick.jp/detail.php?organization_id=48" REL="nofollow">人権問題</A><BR/><A HREF="http://www.greenclick.jp/detail.php?organization_id=52" REL="nofollow">盲導犬</A><BR/><A HREF="http://www.jidousya-hoken.net" REL="nofollow">自動車 保険 見積</A><BR/><A HREF="http://www.jidousya-hoken.net/details/mitsui" REL="nofollow">三井ダイレクト</A><BR/><A HREF="http://www.jidousya-hoken.net/details/sonpo" REL="nofollow">24そんぽ24</A><BR/><A HREF="http://www.at-scelta.com/index.html" REL="nofollow">スニーカー</A><BR/><A HREF="http://www.freshnessburger.co.jp/partner.html" REL="nofollow">フランチャイズ</A><BR/><A HREF="http://www.fasciere.jp" REL="nofollow"> セルライト</A><BR/><A HREF="http://www.feelweb.jp" REL="nofollow"> タイ古式マッサージ</A><BR/><A HREF="http://www.jidousya-hoken.net/details/sony" REL="nofollow">ソニー損保</A>note1https://www.blogger.com/profile/00244033208543850840noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-72786257977054688962008-08-06T11:16:00.001+02:002008-08-06T11:16:00.001+02:00婚約指輪結婚指輪知多半島 ホテル知多半島 温泉 知多半島 旅館コンタクトレンズカラーコンタクトカーボ...<A HREF="http://www.fdcp.co.jp/" REL="nofollow">婚約指輪</A><BR/><A HREF="http://www.fdcp.co.jp/" REL="nofollow">結婚指輪</A><BR/><A HREF="http://www.shoutou.net/" REL="nofollow">知多半島 ホテル</A><BR/><A HREF="http://www.shoutou.net/" REL="nofollow">知多半島 温泉</A> <BR/><A HREF="http://www.shoutou.net/" REL="nofollow">知多半島 旅館</A><BR/><A HREF="http://www.tealla.jp/" REL="nofollow">コンタクトレンズ</A><BR/><A HREF="http://www.dekame.com/" REL="nofollow">カラーコンタクト</A><BR/><A HREF="http://ecomarketing.jp/" REL="nofollow">カーボンオフセット</A><BR/><A HREF="http://www.jidousya-hoken.net/details/zenerari" REL="nofollow">ゼネラリ</A><BR/><A HREF="http://www.jidousya-hoken.net/details/zurich/" REL="nofollow">チューリッヒ</A><BR/><A HREF="http://www.fudousanget.com" REL="nofollow">不動産</A><BR/><A HREF="http://www.fudousanget.com" REL="nofollow">不動産投資</A><BR/><A HREF="http://www.yumeki.com/hp_top_w.html" REL="nofollow">お見合いパーティー</A><BR/><A HREF="http://www.tantei-net.co.jp" REL="nofollow">浮気調査</A><BR/><A HREF="http://www.2dou3.com" REL="nofollow">賃貸</A><BR/><A HREF="http://www.stk-group.com/index.html/" REL="nofollow">埼玉 不動産</A><BR/><A HREF="http://www.stk-group.com/index.html/" REL="nofollow">群馬 不動産</A><BR/><A HREF="http://www.agitarweb.org/" REL="nofollow">海外推广</A><BR/><A HREF="http://www.agitarweb.org/" REL="nofollow">国际推广</A><BR/><A HREF="http://www.agitarweb.org/" REL="nofollow">网络营销</A><BR/><A HREF="http://www.agitarweb.org/" REL="nofollow">网络推广</A>note1https://www.blogger.com/profile/00244033208543850840noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-91380845112220747042008-08-01T23:51:00.000+02:002008-08-01T23:51:00.000+02:00Good web..........rx pharmacyGood web..........<BR/><BR/><BR/><A HREF="http://www.onlinerx-pharmacy.com" REL="nofollow">rx pharmacy</A>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-48880309095802892272008-04-13T13:10:00.000+02:002008-04-13T13:10:00.000+02:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-20214623922105614072008-03-24T13:07:00.000+01:002008-03-24T13:07:00.000+01:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-47357164009554153592008-02-16T12:10:00.000+01:002008-02-16T12:10:00.000+01:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-34891378813314259212007-10-31T21:15:00.000+01:002007-10-31T21:15:00.000+01:00On step 5, I'm getting this error:[root@remandev m...On step 5, I'm getting this error:<BR/><BR/>[root@remandev migrate]# rake db:migrate<BR/>(in /usr/local/apache2/htdocs/testrails)<BR/>rake aborted!<BR/>uninitialized constant CreateWords<BR/><BR/>(See full trace by running task with --trace)<BR/><BR/>Just to verify, I'm supposed to replace the entire contents of the file db/migrate/001_create_words.rb with what is in the text field?<BR/><BR/> - DaveUnknownhttps://www.blogger.com/profile/04296976754978054689noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-39434765049334391012007-09-26T05:43:00.000+02:002007-09-26T05:43:00.000+02:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-25839226914694291622007-09-21T14:51:00.000+02:002007-09-21T14:51:00.000+02:00Hi Vitor,Sure, you can translate it to portuguese!...Hi Vitor,<BR/><BR/>Sure, you can translate it to portuguese! Send me a link when it's done :)<BR/><BR/>AndrzejAndrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-9928350432278329822007-09-21T14:28:00.000+02:002007-09-21T14:28:00.000+02:00Hello, Andrzej!I find your post, as well as your b...Hello, Andrzej!<BR/>I find your post, as well as your blog, very interesting. <BR/>I'm starting to write a blog about rails and TDD as well. <BR/>I think your article it would be a great start for me. <BR/>My blog is at http://www.vip2web.com and is written in portuguese, so i'm here to ask you if i could translate this post and put into my blog?<BR/><BR/>Thanks in advance!<BR/><BR/>Best regards,<BR/><BR/>Vitortestandohttps://www.blogger.com/profile/18004888559043441463noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-51943869557694291662007-09-09T23:32:00.000+02:002007-09-09T23:32:00.000+02:00Excellent website. Good work. Very useful. I will ...Excellent website. Good work. Very useful. I will bookmark!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-20289338413008521772007-08-28T18:17:00.000+02:002007-08-28T18:17:00.000+02:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-63049362784870327292007-08-18T10:28:00.000+02:002007-08-18T10:28:00.000+02:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-91911426277443424092007-08-18T00:35:00.000+02:002007-08-18T00:35:00.000+02:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-25156758751541156052007-06-14T00:54:00.000+02:002007-06-14T00:54:00.000+02:00Congrats Andrew!Thank to this tutor this is my fir...Congrats Andrew!<BR/><BR/>Thank to this tutor this is my first hand on experience with Rails/Ruby/Rake/Gem/Sqlite/mocha - Oh My! :-)Tomasz Nazarhttps://www.blogger.com/profile/08995372426227472561noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-18548103215782838322007-05-27T16:18:00.000+02:002007-05-27T16:18:00.000+02:00Great tutorial. This is sound advice for starting ...Great tutorial. This is sound advice for starting some good habits with rails. You're right about so many blogs emphasizing the quickness of rails and neglecting the testing.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-84258371267844915802007-05-24T11:46:00.000+02:002007-05-24T11:46:00.000+02:00Anonymous,I see your point here.First, this articl...Anonymous,<BR/><BR/>I see your point here.<BR/><BR/>First, this article doesn't cover all aspects of testing an application. Normally, I would start with an acceptance test (acceptance meaning something like a Selenium test). The acceptance test would describe how the user interacts with the system. This is a good place to test (indirectly) that we use something that stores data (like a relational database).<BR/><BR/><A HREF="http://andrzejonsoftware.blogspot.com/2007/05/and-some-more-tdd-steps-with-rails.html" REL="nofollow">The second part of creating the Words application</A> covers the Word.add_content method which is more related to databases.<BR/><BR/>As for the code generation, except for the application skeleton (rake file, logs directories) I don't really generate code here. All the script/generator calls generate only stubs for classes (class and method declaration).<BR/><BR/>Does it answer your questions?Andrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-42940828038410087672007-05-24T10:38:00.000+02:002007-05-24T10:38:00.000+02:00matte, brian,Thanks for nice comments!Typo fixed.matte, brian,<BR/><BR/>Thanks for nice comments!<BR/>Typo fixed.Andrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-20281430275245500952007-05-24T10:37:00.000+02:002007-05-24T10:37:00.000+02:00Aaron,Cool t-shirts!It took ma a while to explain ...Aaron,<BR/><BR/>Cool t-shirts!<BR/>It took ma a while to explain my friend (a non-IT person) why a piece of code can be "guilty" :-)Andrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-31674761970060762652007-05-24T10:35:00.000+02:002007-05-24T10:35:00.000+02:00This comment has been removed by the author.Andrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-3280864823056704642007-05-24T09:18:00.000+02:002007-05-24T09:18:00.000+02:00Can you elaborate on how using a code generator fi...Can you elaborate on how using a code generator fits with the TDD approach of "write the test, let it fail, then write the code to make the test pass", and having that drive the API design and the choice of what application behavior is implemented?<BR/><BR/>For example, why is the application even trying to connect to a database? What test code has driven the need to add DB code?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-39680031119369751492007-05-23T22:25:00.000+02:002007-05-23T22:25:00.000+02:00I like your post. Testing seems to be easiest whe...I like your post. Testing seems to be easiest when you start with it from day one of an application. I like how your tests drive your development. (Your first step was to call rake test - which told you your database wasn't configured.)<BR/><BR/>Posts like these will only help increase the practice of writing good tests. Thats great because we all have a vested interests in good tests - you never know when you'll be called upon to work on an application someone else has built. <BR/><BR/>I carpool with a good friend and we 've made some tshirts that promote good programming practices like <A HREF="http://www.printfection.com/codesmack/All-Code-Is-Guilty/_s_58243" REL="nofollow">testing</A>. Check out this shirt design and let us know what you think.<BR/><BR/>Happy testing - and thanks for the article.Aaron K. Hawkinshttps://www.blogger.com/profile/02428385831591419865noreply@blogger.com