Beginning to Learn TestNG

I have recently started to learn TestNG. There are two reasons for this. The first was an intriguing discussion I had with a test engineer candidate about a Selenium based system he had built on top of TestNG. More recently, a colleague suggested we convert from JUnit to TestNG for our Selenium tests to better allow us to use Selenium Grid.

My initial impressions are positive. However, I am just beginning. This is my initial set of reference materials:


Reference: S.O.L.I.D. Principles Overview

This post is meant to capture Robert Martin’s S.O.L.I.D. principles (see The Principles of OOD for one of Martin’s original presentation of these items) and some related links. S.O.L.I.D. is an acronym of design principles for object oriented development.

The acronym stands for:

  • SRP: Single Responsibility Principle
  • OCP: Open Closed Principle
  • LSP: Liskov Substitution Principle
  • ISP: Interface Segregation Principle
  • DIP: Dependency Inversion Principle

Here is a list of sites to learn more:
The Principles of OOD- Robert Martin
Pablo’s Topic of the Month – March: SOLID Principles
Getting a SOLID start
dave^2 – An introduction to the SOLID principles of OO design


April 2010 mensming Twitter Posts

Follow mensming on Twitter

Top 10 technology mistakes –
10:14 AM Apr 29, 2010

Tech Startups 101: Continuous Integration –
10:56 AM Apr 28, 2010

CS prof. say their students are not more dishonest than students in other fields; just more likely to get caught –
9:35 PM Apr 27, 2010

RT @boldingbroke: Info Arch simplified: #webdesign
5:36 PM Apr 27, 2010

RT @stevenMsmith1: PowerPoint makes us stupid,¡ says Gen. James N. Mattis of the US Marine Corp.
5:27 PM Apr 27, 2010

World’s Largest Data Centers –
8:32 AM Apr 27, 2010

Why NULL pointers are so dangerous –
6:31 AM Apr 21, 2010

Patrick Copeland’s "Google’s Innovation Factory (and how testing adapts)" –
12:11 PM Apr 20, 2010

At the National Geographic Live lecture – Paul Nicklen "Polar Obsession"
7:08 PM Apr 19, 2010

RT @SeleniumHQ: The march of Selenium 2 continues: Version 2.0a3 released!
9:41 AM Apr 19, 2010

Hardware problems – arghhh. It is a change of pace from software problems.
9:34 AM Apr 19, 2010

Did you sell your soul when accepting those terms of service? –
7:36 AM Apr 17, 2010

RT @mheusser: unclebob on sapient testing –
6:02 AM Apr 15, 2010

C programming language back at number 1 position –
9:33 AM Apr 14, 2010

How to Find Crappy Programmers –
6:04 AM Apr 13, 2010

Online interactions have positive effects for real-life communities –
8:33 PM Apr 12, 2010

Twitter: A new box-office oracle? –
8:19 AM Apr 11, 2010

Speedier Bug Catching Specialized transistors track hardware bugs as they happen –
11:48 AM Apr 10, 2010

Testing a set of changes that once production ready will make my life when wearing my operations hat so much nicer.
12:39 PM Apr 9, 2010

@QualityFrog I hear you. My son is on spring break so I am not getting up at 5am – I wake up at 6am and think "wow – I am so rested"
8:07 AM Apr 9, 2010 in reply to QualityFrog

Geriatric Java struggles to stay relevant –
6:27 AM Apr 9, 2010

You Don’t Need Math Skills To Be A Good Developer But You Do Need Them To Be A Great One –
5:31 PM Apr 8, 2010

The Economics of Perfect Software –
5:29 PM Apr 7, 2010

Starting cutover on last client running on old platform (developed by a different team). It will be so nice to be on a single code base.
5:34 PM Apr 6, 2010

Microsoft runs fuzzing botnet, finds 1,800 Office bugs –
8:32 AM Apr 6, 2010

Didn’t realize my last link required a login – sorry.
9:55 PM Apr 5, 2010

Application security checklist: Finding, eliminating SQL injection flaws –
8:11 PM Apr 5, 2010

Shuttle runs on 1MB RAM –
8:19 AM Apr 5, 2010

Just saw Hubble 3D at the science museum – highly recommended.
3:13 PM Apr 3, 2010

@testingqa Agreed – these main stream press stories often leave out the fundamentals.
11:22 AM Apr 3, 2010 in reply to testingqa

Pushing for software quality assurance –
8:30 AM Apr 3, 2010

"Clothes make the man. Naked people have little or no influence on society." – Mark Twain
8:02 PM Apr 2, 2010

Are All Bugs Shallow? Questioning Linus’s Law –
6:50 AM Apr 1, 2010