Thursday, December 29, 2016

The Art of Unit Testing and TDD 101 in C#.NET - Roy Osherove - Key Notes

Roy Osherove, the author of The Art Of Unit Testing, Notes to a software team leader and Beautiful Builds, has online training courses available at http://courses.osherove.com/. I had a chance to watch the first video, Unit Testing and TDD 101, which is available as a free preview of his course The Art of Unit Testing & TDD Master Class in .NET.


Roy spent the first ~30 minutes explaining about unit testing and spent the next hour to demo on how to write unit test in C#.NET as well as the good and bad practices. He hasn'r started demo TDD until the last 30 minutes which I think it is worthwhile to know how to write good unit tests before jump into TDD.

Below are some key notes I did captured from the video (hightlighted in Blue) which I think it may be good to share to eveyone:

Introduction to NoSQL - Martin Fowler - Summary Mindmap

I got a link to this video from Nont last week and just had a chance to watch it yesterday:



Here is the mindmap I created to summarize what I understand from this video:


Related Blog

Sunday, December 25, 2016

Test Drive Jenkins using Docker - Part III

...Continued from Part II

Instructions Summary

  1. Part I: Install Docker
  2. Part I: Clone repository from GitHub
  3. Part I: Download and start up Jenkins 
  4. Part II: Add new project "PULLCODE" to connect to GitHub repository
  5. Part II: Add new project "BUILD" to build project with Maven
  6. Part II: Run MariaDB and test BUILD
  7. Part III: Install and create Build Pipeline
  8. Part III: Install JaCoCo to check for test coverage
  9. Part III: Install Build Monitor View and schedule run interval

Test Drive Jenkins using Docker - Part II

Instructions Summary

  1. Part I: Install Docker
  2. Part I: Clone repository from GitHub
  3. Part I: Download and start up Jenkins 
  4. Part II: Add new project "PULLCODE" to connect to GitHub repository
  5. Part II: Add new project "BUILD" to build project with Maven
  6. Part II: Run MariaDB and test BUILD
  7. Part III: Install and create Build Pipeline
  8. Part III: Install JaCoCo to check for test coverage
  9. Part III: Install Build Monitor View and schedule run interval

Saturday, December 24, 2016

Test Drive Jenkins using Docker - Part I

This blog post is available on Medium. Click here to see this story on Medium.

Jenkins is now popular these days as a continuous integration and continuous delivery tool to automate software development process to achieve DevOps objectives. I have a chance to see a demo during the Test-Driven Development training last week at IMC Institue by K.Somkiat Puisungnoen (www.somkiat.cc)



Here I have listed instructions I tried on Windows 10 that you can follow if you are new to Jenkins and want to see what it can do. Thank you very much to Nont who spent an hour to help me setting Jenkins up.

PS: I'm not the expert but just tried this out for the first time so your comments and suggestions will be very appreciated.

Instructions Summary

  1. Part I: Install Docker
  2. Part I: Clone repository from GitHub
  3. Part I: Download and start up Jenkins 
  4. Part II: Add new project "PULLCODE" to connect to GitHub repository
  5. Part II: Add new project "BUILD" to build project with Maven
  6. Part II: Run MariaDB and test BUILD
  7. Part III: Install and create Build Pipeline
  8. Part III: Install JaCoCo to check for test coverage
  9. Part III: Install Build Monitor View and schedule run interval

Test-Driven Development (TDD) Resource Site (tdd.pacroy.com)

I have created a website to include all resources I gathered so far about TDD (Test-Driven Development) which maybe useful for developers who want to know more about it.


As there is a lot of information, I've decided to create the site in mindmap style so it is friendly for your brain (hopefully 😉). The mindmaps are created and exported using iThought app. You can see the exported example mainmaps here.

Link to my TDD site: http://tdd.pacroy.com