background preloader


Facebook Twitter

Welcome to Continuum. Testling - automated javascript tests in all the browsers. Introduction to Test Driven Development (TDD) Test-driven development (TDD) (Beck 2003; Astels 2003), is an evolutionary approach to development which combines test-first development where you write a test before you write just enough production code to fulfill that test and refactoring.

Introduction to Test Driven Development (TDD)

What is the primary goal of TDD? One view is the goal of TDD is specification and not validation (Martin, Newkirk, and Kess 2003). In other words, it’s one way to think through your requirements or design before your write your functional code (implying that TDD is both an important agile requirements and agile design technique). Another view is that TDD is a programming technique. As Ron Jeffries likes to say, the goal of TDD is to write clean code that works. Table of Contents 1. Figure 1. I like to describe TDD with this simple formula: TDD = Refactoring + TFD. TDD completely turns traditional development around. Note that Figure 2 assumes that you're doing both, although it is possible to do either one without the other. 2. 3. 4. 5. 6. 7. 8. Continuous Integration. I vividly remember one of my first sightings of a large software project.

Continuous Integration

I was taking a summer internship at a large English electronics company. My manager, part of the QA group, gave me a tour of a site and we entered a huge depressing warehouse stacked full with cubes. I was told that this project had been in development for a couple of years and was currently integrating, and had been integrating for several months. My guide told me that nobody really knew how long it would take to finish integrating.

TestPyramid. Testing tags: The test pyramid is a concept developed by Mike Cohn, described in his book Succeeding with Agile .


Its essential point is that you should have many more low-level unit tests than high level end-to-end tests running through a GUI. For much of my career test automation meant tests that drove an application through its user-interface. But this kind of approach quickly runs into trouble, becoming an ice-cream cone. Automated Testing and the Test Pyramid - James Crisp. Why Do Automated Testing?

Automated Testing and the Test Pyramid - James Crisp

Before digging into a testing approach, lets talk about key reasons to do automated testing: Rapid regression testing to allow systems/applications to continue to change and improve over time without long "testing" phases at the end of each development cycleFinding defects and problems earlier and faster especially when tests can be run on developer machines, and as part of a build on a CI serverEnsure external integration points are working and continue to work as expectedEnsure the user can interact with the system as expectedHelp debugging / writing / designing codeHelp specify the behaviour of the system Overall, with automated testing we are aiming for increased project delivery speed with built in quality.

Security testing with Selenium and the Zed Attack Proxy (ZAP) Automated Security Testing in a Continuous Delivery Automated unit, integration and acceptance tests are essential quality controls in running a reliable continuous integration or continuous delivery pipeline.

Automated Security Testing in a Continuous Delivery

Too often, security tests are left out of this process because of the erroneous belief that security testing is solely the domain of leather-jacket-wearing security experts. Security testing does not need special treatment We’ve made great strides automating many repetitive quality testing tasks and we can use the same approach to automating security tests. Unit Testing Best Practices. I was recently compiling a list of Test-driven Development (TDD) “Best Practices” for my client project’s wiki site and thought this would probably be useful to the community at large.

Unit Testing Best Practices

I’ve been an avid practitioner and proponent of test-driven development for a few years now and have found it to be one of the most important practices I’ve adopted. If practiced correctly, it will have a significantly positive impact on the design and quality of your code. Without further ado, here is my list of key concerns to keep in mind while practicing TDD… Test Behavior, Not Methods. Unit Testing Guidelines. CodeProject: Advanced Unit Test, Part V - Unit Test Patterns. Free source code and programming help.

Previous articles in the series: What's New?

CodeProject: Advanced Unit Test, Part V - Unit Test Patterns. Free source code and programming help

Added a section on Presentation Layer Test Patterns. Join The Advanced Unit Testing Project! Spring Tips: Unit Testing from the trenches. Unit testing is one of the cornerstones of modern software development.

Spring Tips: Unit Testing from the trenches

Working on several projects with Spring and Hibernate I have come to the conclusion that (in that setting?) There are actually three types of unit testing: 1. Basic Unit testing 2. Dao Layer Unit testing 3. As the name of the last type suggests, the categories are actually on a scale towards integration testing. In this blog I’ll discuss the differences between the three types and describe some guidelines for creating tests. The Black Anvil: Shootout: Load Runner vs The Grinder vs Apache JMeter. I recently needed to recommend a tool to use for a scalability testing project, and I was in the fortunate situation of having some time to survey the field, and to look into the top contenders in greater depth.

The Black Anvil: Shootout: Load Runner vs The Grinder vs Apache JMeter

From an original list of over 40 candidates, I selected three finalists in the open-source and commercial categories. I then took some time to look at them in detail, to determine which tool to recommend for the ongoing scale testing effort. Since I have seen several questions about how these tools compare to each other on various mailing lists, I'm sharing my findings here in the hopes that others will find them useful. My three finalists were Load Runner, from Mercury Interactive; JMeter, from the Apache foundation, and The Grinder, an open-source project hosted on SourceForge. I found that I could use any of them and get a reasonably good amount of scale test coverage.

Based on this research, I recommended The Grinder as the tool to go forward with. 3.1 Critical Items No. Yes. Open source performance testing tools. Allmon Description: The main goal of the project is to create a distributed generic system collecting and storing various runtime metrics collections used for continuous system performance, health, quality and availability monitoring purposes.

Open source performance testing tools

Allmon agents are designed to harvest a range of metrics values coming from many areas of monitored infrastructure (application instrumentation, JMX, HTTP health checks, SNMP). Collected data are base for quantitative and qualitative performance and availability analysis. Allmon collaborates with other analytical tools for OLAP analysis and Data Mining processing. Requirement: Platform independent Apache JMeter. Learn Python. Python programming language. JavaScript documentation sites. Programming For Testers.