From the blog Table of Code by Andon S and used with permission of the author. All other rights reserved by the author.
Category Archives: Software Testing
Levels of testing (Week 8)
different levels in a testing process. Levels of testing include different methodologies which can be used during
the process of software testing. There are two main levels of testing :
functional testing and non-functional testing. One of my
previews posts talks about black-box testing, functional testing
is a type of black-box testing which is based on the specifications of the
software that has to be tested. The software can be tested by providing input
and then the results are examined in order to conform to the functionality
which it was meant for. Functional testing of a software is conducted on a
complete, integrated system to evaluate the system’s compliance with its
specified requirements.
determination of the functionality that the intended application is intended to perform.
creation of test data based on the specifications of the application.
output based on the test data and the specifications of the application.
writing of test scenarios and the execution of test cases.
comparison of actual and expected results based on the executed test cases.
all the above steps have to be followed and applied to the testing
policies of every organization for this reason it will make sure that the
organization maintains the strictest of standards when it comes to software
quality. This part is about testing an application from its non-functional
attributes. Non-functional testing includes testing a software from the
requirements which are nonfunctional. Performance, Security, User
interface are some requirements examples of non-functional testing. Performance
testing is one important and mandatory testing type in terms of the following: Speed, Capacity, Stability and Scalability. Performance
testing can be either qualitative or quantitative. Security testing includes
testing a software in order to identify any gaps from security.
data is secure, Software is according to all security
regulations, Input checking and validation, SQL insertion
attacks, Injection flaws, Session management issues, Cross-site
scripting attacks, Buffer overflows vulnerabilities and Directory
traversal attacks.
From the blog Table of Code by Andon S and used with permission of the author. All other rights reserved by the author.
Levels of testing (Week 8)
different levels in a testing process. Levels of testing include different methodologies which can be used during
the process of software testing. There are two main levels of testing :
functional testing and non-functional testing. One of my
previews posts talks about black-box testing, functional testing
is a type of black-box testing which is based on the specifications of the
software that has to be tested. The software can be tested by providing input
and then the results are examined in order to conform to the functionality
which it was meant for. Functional testing of a software is conducted on a
complete, integrated system to evaluate the system’s compliance with its
specified requirements.
determination of the functionality that the intended application is intended to perform.
creation of test data based on the specifications of the application.
output based on the test data and the specifications of the application.
writing of test scenarios and the execution of test cases.
comparison of actual and expected results based on the executed test cases.
all the above steps have to be followed and applied to the testing
policies of every organization for this reason it will make sure that the
organization maintains the strictest of standards when it comes to software
quality. This part is about testing an application from its non-functional
attributes. Non-functional testing includes testing a software from the
requirements which are nonfunctional. Performance, Security, User
interface are some requirements examples of non-functional testing. Performance
testing is one important and mandatory testing type in terms of the following: Speed, Capacity, Stability and Scalability. Performance
testing can be either qualitative or quantitative. Security testing includes
testing a software in order to identify any gaps from security.
data is secure, Software is according to all security
regulations, Input checking and validation, SQL insertion
attacks, Injection flaws, Session management issues, Cross-site
scripting attacks, Buffer overflows vulnerabilities and Directory
traversal attacks.
From the blog Table of Code by Andon S and used with permission of the author. All other rights reserved by the author.
Hack More!
I read an article this week about which programming language hackers use (http://www.softwaretestingclub.com/profiles/blogs/which-programming-language-do-hackers-use) and while at first, I didn’t see the relationship between hacking and software testing, I came to realize that they have a good amount of similarities. Thinking more in depth about it, the act of hacking is just finding vulnerabilities in a software or program which is the same objective as QA testers (although the intents may be different).
Something interesting about the article was that when asked, “what programming language do hackers use”, the answer given by an expert hacker Adrian Lamo was totally not what I was expecting. He responded that he does not use a programming language which caught me off-guard because I didn’t think it was even possible to hack / test without the use of a programming language. The most memorable and significant piece of information I got out of this article was when Adrian Lamo further explains his answer by saying that its more important to learn how to read code rather than learning how to code. By learning how to efficiently read code, you can dissect how programmers think, what their tendencies are, and what common mistakes they make which can give you a better idea of what to test.
From the blog CS@Worcester – Tan Trieu's Blog by tanminhtrieu and used with permission of the author. All other rights reserved by the author.
Mocking
The purpose of a unit test is to verify an assumption about the behavior of a software system. And unit tests must be automated so that any assumptions can be verified quickly.
A unit test should also exhibit the following characteristics:
- It should have fast test execution.
- A test should not depend on database access or any long running tasks. A test should isolate external dependencies.
A Mock Object is an object that substitutes for a real object. Mock objects are simulated objects that mimic the behavior of real objects. Mock objects allow you to set up test scenarios without using large resources like databases. Instead of calling a database for testing, you can simulate your database using a mock object in your unit tests. This makes tests run faster.
From the blog Software Testing – The blog about software by Sudarshan and used with permission of the author. All other rights reserved by the author.
Can test automation replace human testers (Week 7)
From the blog Table of Code by Andon S and used with permission of the author. All other rights reserved by the author.
Can test automation replace human testers (Week 7)
From the blog Table of Code by Andon S and used with permission of the author. All other rights reserved by the author.
Can test automation replace human testers (Week 7)
From the blog Table of Code by Andon S and used with permission of the author. All other rights reserved by the author.
Can test automation replace human testers (Week 7)
From the blog Table of Code by Andon S and used with permission of the author. All other rights reserved by the author.
Can test automation replace human testers (Week 7)
From the blog Table of Code by Andon S and used with permission of the author. All other rights reserved by the author.