1, understand the software testing technology:-Software testing technology is an important part of software development process, it is the activity process of verifying and confirming software products (including staged products) throughout the software development life cycle, and the aim is to find out the problems in software products as soon as possible-with the user requirement, or the pre-defined incon
Reading directory:
1. Introduction
2. iterative testing and refactoring: mandatory interface-oriented programming, requiring code to be testable)
2. 1. Two design misunderstandings for interface-Oriented Programming
2.1.1. Interface Dependency inversion
2.1.2. abstraction of interfaces on objects
2. Iterative unit testing and code
"Turn" junit a dangerous note oneJUnit is a regression testing framework (regression testing framework). JUnit testing is a programmer's test, the so-called white-box test, because the programmer knows how the software being tested (how) accomplishes the function and what it does. JUnit is a set of frameworks that inhe
Original link: against Android Unit Tests
Original Author: Matthew Dupree
Development technology Front www.devtf.cn
Translator: Chaossss
Reviewer: tiiime
Status: Complete
As I said in the preface, the difficulty of testing in Android is a consensus among many Android developers. After the last blog post, many of my peers replied to me and expressed support for my Views:
compilation.
In addition to the template issue mentioned earlier, CppUnit will generate an executable file for all test compilations. What does this mean? Modifying almost any file will result in the re-generation of the file. As the target file increases, the process will grow. The modification range may be only one file ).
It seems a little long. Why can't this happen in Java? Because Java is dynamically connected, Java generation. class ends. Corresponding to C ++, this only completes the ge
From: http://www.microsoft.com/china/community/Column/59.mspx
Columns
Use nunit for unit testing in. NET Programming
Lu Yan
Introduction: for example, an event that may happen to you will be closer to the actual situation. Fortunately, we have one
Program The engineer seems to be a very common task: When you go to work on the first day of today, your project manager will give you a bunch of
ticket can be negative. If yes, throw an exception
Reason. The other is add, which has an int-type parameter. The function is to add the value of this parameter to amount. It may be a result of a ticket receipt. You are not very concerned about it, this program is very
Simple: you can hide your ecstasy. Open the computer, call out the editor, and start preparing to write programs. "Hey, wait". The project manager doesn't know when to switch back. "I want to know how you plan to perform
Importance of Unit Testing
Author: VinceUnit testing is the basis of software testing. Therefore, the effectiveness of unit testing will directly affect the software's subsequent testing
Today's quality partners to tell you about unit testing.based on hands-on practice, tracking and observing the surrounding It team and peer sharing, quality partners find it people in the software development process a series of choices on the effectiveness of software unit testing has a significant impact. Preliminary grooming involves at least the following asp
Original link: What I ' VE learned from TRYING to make an ANDROID APP UNIT testable
Original Author: Matthew Dupree
Development technology Front www.devtf.cn
Translator: Chaossss
Reviewer: mr.simple
Status: Complete
In the previous blog post, I showed you how to use the Square Dafa architecture for Android apps, and in fact, the Square developed a new Android application architecture intended only to enhance the test
Use GWT to test asynchronous applications more easily
Introduction: You may have a great deal of fun writing Ajax applications, but performing unit tests on them is a pain in the neck. In this article, Andrew Glover to address the weaknesses of Ajax, one of which is the inherent challenge of performing unit testing for asynchronous WEB applications. Luckily, he
Getting started with unit testing for Java4AndroidThis article describes how to use the various functions provided by JUnit 4 to conduct effective unit tests, and demonstrates how to use Ant to perform automated unit tests through an example. This article assumes that you have some experience in Java Development in Ecl
Doing a project is bound to be a unit test to ensure the robustness of the program to ensure that the version iterations function properly. But if a program, such as a CMS, is itself dependent on the database, how should you do unit testing without destroying the database?
Example:Visit the Id=1 page, first check
sqlSELECT * FROM `data` WHERE `ID` = 1
, and assi
1: What is annotation?Annotation, the word "@xxx" (such as @before, @After, @Test (timeout=xxx), @ignore), is generally translated into meta data and is a new feature of Java.-java new features of the mainstream unit testing Tools-annotation-groupthreetogether-group Blog2: A brief introduction to the meta-data:@Before:The method that uses the metadata is executed one time before each test method executes.@A
Unit testing best Practices for domain-driven design (ii)All along, I tried to find an effective unit test pattern, so that "unit testing" really can be popular in the team, so that unit testi
PHP Unit testing tool PHPUNIT: page 1. When you encounter these situations that make you frustrated, you will definitely think about a better solution? Of course there are some solutions! This is the unit test. When you encounter these frustrating situations, unit testing wi
and there is a need to upgrade the existing code, we do not consider it directly. Of course, if the corresponding version is already in use, still can consider, after all, Microsoft's own things are the most convenient to use.2. Functionally, according to one of our test cases with Typemock and Justmock to write a bit, found justmock more powerful.Our test case is to measure a time value that does not contain a year for a particular reason, so when it passes from a client to a server in a diffe
Original link: How to make our ANDROID APPS UNIT testable (PT. 1)
Original Author: Matthew Dupree
Development technology Front www.devtf.cn
Translator: Chaossss
Reviewer: tiiime
Status: Complete
Unit testing in Android apps is difficult, and sometimes impossible. In the previous two blog posts, I have explained to you why
disadvantage of method 1 is solved, and the database structure is not synchronized.
Disadvantage: When performing the crud (Create/read/update/delete) operation, you need to perform some data insertion operations in the unit test method to ensure the independence of the Unit Test and the development database, this increases the unit test workload.
In actual pro
There are many front-end test frameworks based on Nodejs, and finally the Mocha is selected. Mocha You may not have heard, but its development of-TJ, do the front-end students must have heard. Talk less, cook
Because Mocha is based on Nodejs, the first choice we want to install NODEJS environment, will not students please Baidu, Google (see this, is not in the heart of the impulse, spontaneously)
Installing the mocha is actually a Nodejs module.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.