Friday, 17 February 2012

【Ken】Well behaved software by testing process -1

Terminology

  • Testing - Testing is the activity of finding out whether a piece of code ( a metaod, class or program) produces the intended behavior.
  • Debugging - Debugging is the attempt to pinpoint and fix the source of an error.
  • positive testing - Testing of cases that are expected to succeed.
  • negative testing - Testing of cases that are expected to fail.
  • assertion - the expression that states a condition that we expected to be true. If the condition is false, This indicates an error in the program.
  • fixture - a set of objects in a defined state that serves as a basis for unit tests.
  • walkthrough - working trough a segment of codeline by line, while observing changes of state and other behavior of the application.

Friday, 10 February 2012

SOA: XML, WSDL, SOAP, Web Service


What is XML?

Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. It is defined in the XML 1.0 Specification produced by the W3C, and several other related specifications

As of 2009, hundreds of XML-based languages have been developed, click on the link to see the number of XML based language http://en.wikipedia.org/wiki/List_of_XML_markup_languages

Read more about XML and understand it before continuing to read this article.

What is WSDL?

WSDL (Web Services Description Language) is one of the XML-based language for describing Web services and how to access them. It specifies the location of the service and the operations (or methods) the service exposes.

  • WSDL stands for Web Services Description Language
  • WSDL is written in XML
  • WSDL is an XML document
  • WSDL is used to describe Web services
  • WSDL is also used to locate Web services
  • WSDL is a W3C recommendation

Now we know what WSDL is and we have to understand SOAP.

Friday, 3 February 2012

Visio Diagram

A Visio diagram is a great way to illustrate a process, a timeline, a design, or other business information. In Microsoft Office Visio Professional 2007, you can analyze how a process or other area is actually performing by connecting data to the shapes in your diagram. You can also add different visual effects based on the data values.

For example, you can link sales data from an Excel workbook to the shapes it relates to. When a phase of the sales process takes longer than guidelines recommend, the shape for that phase changes color or shows an icon that alerts you to the situation. As the data in your worksheet changes over time, you can update it in your Visio diagram with a click of the mouse.

Wednesday, 1 February 2012

What is Visual SourceSafe?


Microsoft Visual SourceSafe is a file-level version control system that permits many types of organizations to work on several project versions at the same time. This capability is particularly beneficial in a software development environment, where it is used in maintaining parallel code versions. However, the product can also be used to maintain files for any other type of team.

Visual SourceSafe supports cross-platform development by allowing collaborative editing and sharing of data. It is designed to handle the tracking and portability issues involved in maintaining one source control base, for example, a software code base, across multiple operating systems. For developers, Visual SourceSafe accommodates reusable or object-oriented code. It makes it easier for you to track the applications that use particular code modules.

At a minimum, Visual SourceSafe does the following:

  • Helps protect your team from accidental file loss.
  • Allows back-tracking to earlier versions of a file.
  • Supports branching, sharing, merging, and management of file releases.
  • Tracks versions of entire projects.
  • Tracks modular code (one file that is reused, or shared, by multiple projects).

Please read more by clicking the link below:
http://msdn.microsoft.com/en-US/library/3h0544kx%28v=vs.80%29.aspx