1. Install Python3.4 version, Reason: 3.4 and later version default comes with Pip tool, very useful2.django installation Command (c:\Python34\Scripts): Pip install Django3.selenium installation Command (c:\Python34\Scripts): Pip Install Selenium4. Create a Django Project (c:\Python34\Scripts): django-admin.py startproject superlistsPs:superlists is the project name5. Start the Django server (c:\Python34\Scripts\superlists): Python manage.py runserver
1. Caching and performance testingLearn how to install and configure memcached, and use Apache AB to perform performance testing. How performance is in the case of caching and no caching. Write an automated test that requires the test to fail when the caching mechanism is not open.Dreaded problem with invalid cache. How to use tests to help determine whether the logic of invalid cache drops is strong.2. JavaScript's MVC FrameworkUse these frameworks to turn this superlist site into a single-page
TDD uses the implementation of xunit as an example. It also makes me feel the charm of Dynamic Language (optimistic language ).
Code Come:
Class
Testcase:
Def
_ Init __
(Self, name ):Self. Name
=
Name
Def
Setup (
Pass
):
Pass
Def
Teardown (Self ):
Pass
Def
Run (self, result ):Result. teststart ()Self. Setup ()Method
=
Getattr (self, self. Name)Method ()Self. teardown
Class
Wasrun (testcase ):
Def
TDD Study Notes [1] ---- preface: Preface to tdd Study NotesQuestions about most TDD programmers:
The last thought is:
1. Unit Test. That's all about it.
2. Unit Test? No time!
3. TDD is just a hype. In real development, who has written a whole system using TDD?
4.
What is TDD?TDD is short for test-driven development, that is, test-driven development. The basic idea of TDD is to use testing to promote development, rather than simply testing. TDD is one of the core of extreme programming, but TDD can also be used independently.
the folder, create a new folder in the folder, named Lib. Then from the folder that installs NUnit from the beginning, put Nunit.framework.dll (find the directory where you just installed NUnit, mine is in C:\Program Files (x86) \nunit 2.6.4\bin\framework folder) , copy to the new Lib folder you just created. continue to add = = in the VS right-click = "New Solution folder, named Lib, add the existing item in the Lib Solution folder and add the Nunit.framework.dll in the Lib folder." in the Tdd
TDD Study Notes [3] --- do I need to test non-public methods ?, Tdd Study NotesPreface
In Visual Studio 2012, there is an important change to the Unit Test section:
Originally, for the non-public part of the test object, developers can use the accessor automatically generated by Visual Studio 2010 to perform the test. However, in Visual Studio 2012, this function is removed.
The principle behind Accessor is
TDD Study Notes [4] --- How to isolate dependencies and tdd Study NotesPreface I believe that many readers have heard of "testability" and even those who want to survive it. They also feel that it is simply inexplicable and futile. In this article, we will focus on the dependency between objects and the direct dependency between objects. To avoid design and test problems caused by dependency, this article w
BackgroundAn efficient software development process is critical for software developers, determining whether development is a painful struggle or a joy of continuous improvement. People's disdain for software blue-collar, the cumbersome and lengthy traditional development process of intolerance, so that most developers are at a loss. Some recently arisen software development process related technologies, provide some more efficient and practical software process development methods. One of the m
If you want to write a cmath class, there is a method ABS (), the prototype is as follows:
Class cmath{Public:Int ABS (int );};
The general programming habit is to directly write code and then debug it. As for testing, let's talk about it later. TDD requires that you cannot write any product code before writing test code.The test framework used here is cppunit. the use case code uses the format described in the first and second sections of this series
, take any means, including hardcode and test-related values)3. Make it right (to make it a good code, use refactoring-reconstruction method to eliminate repeated encoding)
This book is divided into three parts. In the first part (17 chapters in total), the author uses a multi-currency example to demonstrate the TDD process in a simple and clear way. Starting from the operations involved in the currency, first introduce the multinational currency fro
Which of the following is the best 4G technology? Clarify the relationship between FDD and TDD (1)
1. Technical aspects: they are all born with a mother-in-law.
The technical differences between FDD and TDD are actually very small. The main difference lies in the adoption of different duplex modes. FDD and TDD are two different duplex modes.
FDD is used to rece
Speaking of LTE, we immediately think of the 4G, and when it comes to 4G, many people in the mind is TDD LTE, because our first 4G license is TDD LTE, currently is TDD LTE, operators mainly for China Mobile's dominant. However, with the FDD LTE license soon to be released, China Unicom and the Chinese telecom will use FDD LTE or
Repeating the boring definitionTest-driven development, English full name Test-driven development, abbreviated as TDD, is a new development method that differs from the traditional software development process. It requires that you write the test code before you write the code for a feature, and then write only the function code that passes the test to drive the entire development through testing. This helps to write concise and high-quality code, and
The group is now changing the development model from the traditional development model (developer development, QA testing) to the development models that try TDD(test-driven Development, test-driven development ). As a result, there is no QA role, or only a small amount of QA is used for integration testing between system modules.Therefore, the testing and development of the code will be guaranteed by the developer (Developer). This requires the help
A recent article in CoolShell, TDD is not as beautiful as it looks, has aroused high attention and encouragement debate in Agile communities. Today, InfoQ even held a special "virtual forum", "How beautiful is TDD?". Several domestic agile community celebrities have discussed this issue in depth. Regardless of the results, this spirit of discussion and reflection is very commendable. The incident can be sim
Signature
This series of notes will summarize the Test experience of Baidu in two years from the Tester 's point of view, documenting a complete process of acceptance testing based on the Agile process , and sharing some knowledge and experience in the testing process. And some of their own ideas. summed up their own, but also hope to benefit everyone.
Concept
Acceptance test-driven development (ATDD) and test-driven development (TDD) are two compl
Some friends posted articles about TDD some time ago, which aroused a warm response. I have been studying and practicing TDD for nearly a year and want to share my understanding of TDD. This article discusses the essence and blind spots of TDD, and hopes to guide TDD beginne
2014 I have been engaged in the Agile Practice Consulting project, which is also a rewarding year for me, in particular, every point of the consulting project changes, whether it is the improvement of code quality, or self-organizing team building, can make us feel gratified. People-related issues are complex issues, changing people, changing an organization is a more complex issue, and there may be a lot of non-technical, non-competency issues involved.In December 2014 I carried out a
Document directory
Digress
TDD background
TDD in HTML JavaScript Overview
Feasibility of TDD in HTML JavaScript
Best practices of TDD in JavaScript
Digress
I just wanted to launch a discussion on this topic yesterday. I just thought that the existing functions of the blog Park are not supported yet. So I sudde
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.