习题2:注释和#号
程序里面的注释是非常重要的。它们可以用自然语言告诉你某段代码的功能是什么,同时,在你想临时删除某段代码时,也可以用注释的方式来将这段代码临时禁用。下面的练习将会让你学会Ruby里面的注释:# A comment, this is so you can read your program later. # Anything after the # i...
习题1:良好的开始--第一个程序
你应该在习题 0 中花了不少的时间,学会了如何安装文本编辑器、运行文本编辑器、以及如何运行Terminal,如果你还没有这么做的话,请不要继续往下阅读了,后面会有很多苦头吃的。请不要跳过前一个习题的内容继续前进,这也是本书唯一的一次在习题开头就做这样的警告。 puts \"Hello World!\"puts \"H...
习题0:准备工作
这道习题并没有代码。它的主要目的是让你在电脑上安装好Ruby,你需要尽量按照指示来操作。这份教学假设你将使用Ruby 1.9.2你的系统里面可能已经装好了Ruby。打开console 并尝试运行:$ ruby -vruby 1.9.2 如果你的系统里并没有Ruby,那么不论你使用的是哪一种操作系统,我都强烈推荐你使用 Ruby Version Man...
笨方法更简单
这本书的目的是让你起步学习编程。虽然书名说是“笨办法”,但其实并非如此。所谓的“笨办法”是指本书教授的方式。在这本书的帮助下,你将通过非常简单的练习学会一门编程语言。练习是每个程序员的必经之路:做每一道习题一字不差地写出每一段代码让程序运行起来就是这样了。刚开始的时候,这对你来...
《笨方法学Ruby》
英文版:http://ruby.learncodethehardway.org/book/ 繁体版:http://lrthw.github.io/《笨方法学Ruby》(Learn Ruby The Hard Way)是Zed Shaw编写的一本Ruby入门书籍。适合对电脑了解不多,没有学过编程,但对编程感兴趣的朋友学习使用。这本书以习题的方式引导读者一步一步学习编程,从简单的打印一直讲到完成项目...
Agile testing is the emperor's new clothes
The terms ‘Agile’ and ‘Agile testing’ are widely used in the world of IT today. For better or worse,Agile has become a buzz word. Something becoming a trend is not in any way negative, but if Agile was supposed to gain a solid foothold and a dedicated following, enough people will need to t...
Ruby中gets和gets.chomp()的区别
gets和gets.chomp()都表示读入用户的输入并用于输出,但两者还是有所不同,其中gets是得到的内容后,在输出时后面接着换行;而gets.chmop()得到的内容输出时后面不带空格和换行。例如:点击(此处)折叠或打开print "How old are you? " # input 29yrsage = gets.chomp()...
Define v.s. Declare
A variable is defined if, and only if, the lvalue column for that variable in the symbol table has a memory address assigned to it. When you declare a variable, ...
Agile software development: Tips for writing testable user stories
Many testers on Agile projects struggle to keep up with the pace the development team sets in terms of story delivery. In time-sensitive environments, it’s critical for the tester to get a leg up on ...
Software QA and Testing Resources
Top ResourcesStickyminds.com - Comprehensive software testing resource site associated with 'Better Software' Magazine, with articles, news, information on software testing and quality engineering, b...
What is Database testing?
Data bas testing basically include the following:1)Data validity testingFor doing data validity testing you should be good in SQL queries2)Data Integrity testingFor data integrity testing you sh...
Web Site Testing Checklist
Tables? Does the user constantly have to scroll to the right to see items in a table? ? Do tables print out properly? ? Are the columns wide enough or does every row have to wrap around? ? Are ce...
Web application security testing checklist
Set everyone's expectations The Golden Rule of performing security assessments is to make sure that everyone affected by your testing is on the same page. Start by working with your project sponsor (...
Date Entry Checklist
Checklist Date Entry.PNGOther issues:Can invalid dates be passed to this routine? Should they be accepted?Is there a standard date entry routine in the library?Can new date formats be easily add...
Numeric Entry Checklist
Checklist Numeric Entry.pngOther issues:Will boundaries and limits change over time?Are they influenced by something else?Will field accept operators? +, -, /, *, !, **, ^, %Will the value ch...
Screen Validation Checklist
Aesthetic ConditionsIs the general screen background the correct colour?Are the field prompts the correct colour?Are the field backgrounds the correct colour?In read-only mode, are the field pro...
Checklist: Graphical User Interface
Checklist Graphical User Interface.png
Check List for Software Testing
Web Site Testing Checklist: GeneralAre all tests being run on "clean" machines? Does the system do what it is intended to do? Does it provide the correct results? Does the system provide all the...
Software Testing Methodology
Testing MethodsWhite BoxAlso called "Structural Testing / Glass Box Testing" is used for testing the code keeping the system specs in mind. Inner working is considered and thus Developers Test..Muta...
The Test Plan Samples
Are you a Software QA engineer or Software tester? Need to update your software QA/testing knowledge or need to prepare for a job interview? Check out this collection of The Test Plan Samples...The ...