Wednesday, September 30, 2015

Test pyramid

 

The test pyramid is one of the efficient approaches to test a complex system. Recently I had opportunity to work on a banking system and found the test pyramid of great value in testing the system. The banking system is based on event based architecture.

 

In a test pyramid, we draw a pyramid with horizontal slices. Each slice represents a type of testing. The bottom part would be Units tests, followed by functional tests, Integration tests (within system), contract tests (system interacting with third party system), external integration tests (system and other third party systems) and UI tests.

 

The unit test can be normal unit tests, or mock mvc. Functional tests can be covered using Axon functional tests. Integration tests (user journey tests) would be in groovy. The performance tests could be in scala.  The contract tests (cross functional domains) would be in java.  UI tests could be completely in javascript, like jasmine framework.

 

 

 

Thursday, January 29, 2015

Never missing your friends birthdays

I always had this problem of missing my friends birthdays. I would remember it a day afterwards or sometimes ( worst scenario), they would call me up and remind me. I would be engrossed in my work and I would lose myself in time. And this is the only reason. I really cared a lot for my near and dear ones.

The following post is an attempt to solve the issue of not remembering birthdays on time.

Facebook had a list of all the birthdays of my friends. Brilliant!

Sometime back, I had downloaded all the birthdays from Facebook in Excel format.

Google search revealed 123greetings and AmericanGreetings.

And my work is in progress...