I’m a big fan of unit tests (Surprise). When ever possible I practice TDD. I like how that approach coerces me into making smaller classes, less dependencies, cleaner abstractions. And of course I love it when my unit tests catch a regression before I even start the application.
0 replies - 1100 views - 02/08/12 by Jens Schauder in Articles
If you’re testing a web application, you can’t go far wrong with Selenium WebDriver. But in this web 2.0 world of ajax-y goodness, it can be a pain dealing with the asynchronous nature of modern sites.
0 replies - 1611 views - 02/03/12 by David Green in Articles
This post summarizes what I’ve learned from various sources about
making acceptance or black-box tests maintainable. This topic is of
great interest to me because I believe in the benefits that acceptance
tests can bring (such as living documentation)
...
3 replies - 2959 views - 01/30/12 by Jakub Holý in Articles
I’ve noticed that when other developers talk about “continuous integration” they do not always mean the same thing. The following is an outline of the seven stages of continuous integration based solely on my own experience:
10 replies - 12138 views - 01/29/12 by Dror Helper in News
Tests developed during TDD can be classified into several levels, depending on the size of the object graph they need to work with. End-to-end tests span the whole application graph, while unit tests usually target a single public class at a time.
0 replies - 3596 views - 01/26/12 by Giorgio Sironi in Articles
Almost everybody understands that source code belongs in version
control. Many people understand we need to test our code. Quite a few do
that automatically.
But everything seems to change when it comes to databases. A lot of
stuff in and around databases...
3 replies - 2672 views - 01/25/12 by Jens Schauder in Articles
As Dependency Injection frameworks go, the standard is currently CDI.
When switching from Spring, one has to consider the following problem:
how do you unit test your injected classes?
In Spring, DI is achieved through either constructor injection or...
10 replies - 2489 views - 01/23/12 by Nicolas Frankel in Articles
While all the previously described metric systems have easy
protocols, they tend to stay in Sysadmin/Operations land. But you should
not stop there.
There is a lot more to track than CPU,Memory and Disk metrics. This
blogpost is about metrics up the stack:...
0 replies - 1745 views - 01/19/12 by Patrick Debois in Articles
I’m fed up with unit testing !
0 replies - 2465 views - 01/17/12 by Antonio Goncalves in Articles
S'Mores are about the perfect mix of sugar,
sugar and chocolate. So, the programming equivalent would be getting
your Selenium tests separated from your unit tests, and running in an API that just needs a web server, not a separate Selenium server,...
1 replies - 1598 views - 01/17/12 by Ken Rimple in Articles
JUnit is a popular testing framework for writing unit tests in Java
projects. Every software engineer should always try to consider using
less code to achieve objectives and the same is true for test code.
This post shows one way to write less test code...
1 replies - 2300 views - 01/15/12 by Alex Staveley in Articles
I constantly get emails from Static Analysis vendors telling me why I
need to buy their technology. Recently I’ve been receiving emails
explaining how my team can use static analysis tools to do impressive
things like “test millions of complex lines of...
4 replies - 3275 views - 01/14/12 by Jim Bird in Articles
Web tests are as a rule much slower than other types of tests, but
they can be sped up significantly by running them in parallel. However,
this is often harder to implement than it sounds. The latest version of Thucydides (version 0.6.0) comes with support...
0 replies - 813 views - 01/12/12 by John Ferguson Smart in Articles
Some proponents of TDD say, that TDD forces you to find a good
design. Some even translate TDD to Test Driven Design. I don’t agree.
Mostly.
Lets start with the small part where I do agree.
Since TDD forces you to write test first, it forces you to think...
1 replies - 2702 views - 01/11/12 by Jens Schauder in Articles
have been working on a fairly simple JMeter load script that I can
run a series of 4 sequential pages against an Apache server, but the
goal was to have the server support 2,000 concurrent requests for 5
minutes without error.
Most of my issues in...
0 replies - 1518 views - 01/05/12 by Mick Knutson in Articles