BDD and continuous integration go hand in hand for achieving continuous testing

The article covers what is BDD and later on explains what is CI and how together it leads to continuous testing.

what is BDD

Behavior-driven development is an extension of test driven development (TDD) that makes use of a simple, domain-specific scripting language[DSL]. These DSLs convert structured natural language statements into executable tests. The result is a closer relationship to acceptance criteria for a given function and the tests used to validate that functionality. As such it is a natural extension of TDD testing in general. [Reference:https://en.wikipedia.org/wiki/Behavior-driven_development]

In simple terms BDD is actually a simple 3 step process. Starting point is that the requirements should exist in the form of user stories.

  1. Every User story is first broken down into one or many scenarios or DSL’s. For every such scenario we will have to specify, a) Precondition b) Input c) Expected Output. One such very popular DSL is Gherkin. In Gherkin DSL – Precondition is known as “Given”, Input as “When” and Output as “Then”
  2. BDD tool like Cucumber works on the above and generates an Executable step file
  3. These executable step files will be then executed by a framework – be it Selenium, webRat or Capybara.

Requirements are now in the form of executable tests which a developer/tester and even Business understands.

As every requirement or behavior is now driving the development, it is called as BDD. In other words we actually test a requirement before we implement another. By test-driving our analysis, we

  • Understand the system behavior
  • Learn how to design and implement
  • Produce test suite from Day 1

As we keep the test suite linked to the check-in checkout and build process and hook this with a CI tool like Jenkins, anytime there is a change the entire suite is tested thus confirming that every required gets test covered.

What is CI continuous integration

(reference http://searchmicroservices.techtarget.com/tip/Why-DevOps-processes-and-continuous-integration-go-hand-in-hand) { Continuous Integration is a mode of software development that encourages developers to make code changes to an application in small pieces, integrate those changes into the main code base and, finally, test them to make sure they work. The goal behind continuous integration is to minimize the risk that a change to code will introduce something that causes the application to fail or perform poorly. If each code change is kept small and integration testing is performed on each change as soon as it is complete, developers have a better chance of immediately knowing if their most recent update caused a problem. Plus, it will be easier for them to roll back the change at that point without affecting other parts of the application.}

As we have linked the CI with the test suite generated while creating scenarios from requirement, we have now been able to create a process which leads to continuous testing. As soon as there is a change, not only the integration points will be tested from the code perspective but every feature or requirement will be tested.

BDD, Agile Automation and continuous testing are most needed skills in demand today.

Agile Testing Alliance is helping is pioneering new age certifications for every agilist/tester/QA known as CP-AAT (Certified Professional – Automation Agile Testing).  Learning objectives of CP-AAT are there on the following URL

http://agiletestingalliance.org/aat.html

CP-AAT

Next public events are showcased on

http://ataevents.agiletestingalliance.org/

Our various social media channels are

Websitehttp://www.agiletestingalliance.org
Twitter handle @AgileTA
Facebook Page: https://www.facebook.com/AgileTestingAlliance
Youtube link: https://www.youtube.com/user/AgileTestingAlliance
LinkedIn profile: http://www.linkedin.com/groups/Agile-Testing-Alliance-5131844
SlideShare: Learning and sharing Presentations and information
http://www.slideshare.net/AgileTestingAlliance/ 
http://www.slideshare.net/ATASlides/

CP-MAT batch conducted at Bangalore

CP-MAT (Certified Professional- Master Agile Testing) training and certification batch was conducted from 19-21 May at ATA Bangalore- Koramanagala.

Trained by our Principal consultant Nishi Grover Garg, the training had lots of enthusiasm , fun , team exercises and hands-on learning. The delegates in the training left with a great experience, knowledge and agile skills as passionate testers.

Here are a few glimpses into our training –

 

For more details on CP-MAT course and highlights – please read – http://agiletestingalliance.org/mat.html 

To know about our upcoming trainings and batches – please visit – http://ataevents.agiletestingalliance.org/

Happy Learning!

 

A huge success at the 13th ATA Bangalore Meetup @CoviamTech

ATA with the help of our Bangalore Chapter Chief co-ordinator Ms Nishi Grover Garg organised the 13th ATA Meetup at Bangalore on 13 May 2017 at Coviam Technology office – HSR Layout. The event was a big success owing to the great support of the team @CoviamTech as well as the great talks by all the speakers. The day saw a huge turnout with a full house at the venue, and great participation and questions by the attendees.

CEO of Coviam Mr. Deepak Nachnani gave an introductory talk , followed by the below talks-

Shrinathacharya L M. (Shrinath)   from Allscripts Thick and Thin Lines in Choosing Mobile Test Cloud Environment
Mr. Sundaresan Krishnaswami from Coviam
and
Ms.Felicia Kartika from Blibli.com, Indonesia
Successful strategies to testing Microservices architecture
Mr Santhosh GS from Allscripts Machine learning telepathy for Shift Right approach of testing
Deepthi from Coviam Usability Testing

Delegates appreciated all the sessions, and had the opportunity to network over tea and lunch sponsored by Coviam at the end of the sessions.

CP-MAT certificates were also distributed in a felicitation ceremony for the candidates who cleared the course last month.

IMG_20170513_094352 IMG_20170513_102448 IMG_20170513_114855 IMG_20170513_122315 IMG_20170513_131445 IMG_20170513_134717 IMG-20170513-WA0015 IMG-20170513-WA0017 IMG-20170513-WA0013

Thanks a lot for the efforts of our Principal consultant Nishi, our hosts Coviam Tech and the volunteers who helped make the event a huge success.

Look into the future!!!

 

Future

What if I told you that I can know your whereabouts by pointing my phone camera at you as we are walking past each other on the street using Google Lens? Scary isn’t it?. Yes that’s exactly the thought that came to my mind the moment Sundar Pichai said, “Because we know where you are and we have our knowledge graph and we know what you are looking at…” while he was unveiling Google’s latest product “Google Lens” at the Google I/O conference on May 18th 2017. Perhaps, my scenario is a bit exaggerated but certainly possible :-)

Photo searching capabilities such as Google images has been around for sometime now but, with Lens things just got extended in a big way. While we admire the advantages and talk about potential disadvantages, the questions that kept popping in my head are,

1. What are the risks involved in implementing, using such a product?
2. What would be challenges in terms of technology?
3. And most importantly, how would I test it keeping the features, usability, technical implementation and the risks in mind?

Google Lens would be available as a part of the Google Assistant and Google Photos to start with and then will be extended to other services later. Which means it would need a seamless integration with Google Assistant and Google Photos. I have been using and testing the Google Assistant since it’s launch a few week weeks ago. It is an amazing product and makes your life so easy. You can do a lot of things such as let your phone remember stuff for you, start the music player and play your favourite track, add reminders to your calendar, help you plan your day and lots more. Adding the capabilities of the Google Lens to it will make it a super product if it isn’t one already!!! Imagine you being at a loss for the name of the fruit or fabric that you just saw at the market, Google Lens would help you with that. Or you see a cafe and are wondering how the coffee they serve tastes like? Google Lens would let you do that as well. Cool stuff ha!

So now the big question is how would you test it? Both functionally and non functionally… While we may think that with loads of machine Learning and Artificial Intelligence aspects already baked into the platform, you should get perfect results but the testing of Google Assistant has certainly is yet to to prove that perfection (Trust me… it does have defects! :-) ). From the functional aspect the accuracy of the results would certainly matter. You might want to test the consistency of the results across multiple devices given the fact that Google Assistant is now available for iOS too and of course Google Photos has been there for a while now. Also, now that we know that Google Lens would be extended across the other products of the Google portfolio, it would be interesting to test its integration with the other apps such as Gmail, Youtube, Maps, Keep etc.

That being said, performance and security are the two non functional aspects that jump right out. How quickly is Google Lens going to respond to your requests? given the fact that we still use a wide range of networks conditions right from 2G to 4G to the super fast Wi-Fi networks, the results would of-course vary considering the throughput and latency in the networks but how good is the response under “ideal”conditions would be an interesting aspect. With so much data floating around, data security becomes pertinent and so does security testing.

So much said, With every little change there are numerous possibilities. One would certainly think what would be a comprehensive strategy to test this. Since we are talking mobile, one of the best ways to go about this would be to use the GUIDABLE INCLUSIONS mnemonic based test strategy. This will not only making your testing more robust but make life easy as Google Lens intends to do!!!

IMG_20170325_130628

ATA 12th Meetup @Moolya Software, Bangalore

ATA 12th Meetup was organised and hosted last Saturday 25th March 2017 @Moolya software, Bangalore. The event saw good participation from many enthusiastic testers and some insightful talks by great speakers. We had talks on—

>>Problem solving techniques: An attempt to apply ideas across disciplines — by Ajay Balamurugadas, Tyto Software (Creators of Sahi)-

>>Behavior Driven Development – What, Why and How – from a tester’s perspective — by Mr. Vinay Krishna, Agile Technology Coach

>>Challenges of Agile for a Manager — by Preeth Pandalay, Techno Agilist, Agile Coach, Trainer

>>Create 100 mindmaps in 1 minute (demo) — by Dharamalingam K – Moolya Software

Thanks to our Chief coordinator Bangalore – Ms. Nishi Grover Garg for organising and hosting this event!

The event was a great success owing to the awesome speakers and the amazing discussions and questions by the participants. We hope to continue these meetups and bring the community together with more such open events!

IMG_20170325_093943 IMG_20170325_095618 IMG_20170325_103838 IMG_20170325_111743 IMG_20170325_115325 IMG_20170325_124553 IMG_20170325_130628

Testing in the future – A Reality Check!

IMG-20170318-WA0039

I was fortunate enough to have be invited as a speaker to Global Testing Retreat ( #ATAGTR2017 ) which is perhaps the greatest conference in India.

The conference included some excellent talks, workshops and tools demo. The event ended with a panel discussion with some eminent industry leaders being a part of the panel. The discussion was centered around how the testing landscape was reshaping itself to meet the need of the hour. With the advent of IoT, RPA and a lot of complex technology, the testers need to upskill. They did talk about a lot of common aspects across the industry and stressed on the upskilling of the workforce. Manual testing is certainly on a death road however, with a majority of the testing workforce especially in India still stuck with manual testing as their bread and butter, it poses a huge challenge.

The panel talked about ways to get around the challenges and floated the thought of not hiring Automation testers in future by help their existing testers pick up automation skills. That’s a very courageous step and would certainly be very encouraging for the team. Also, it seems that’s a lot of the companies are tying a financial benefit to that. It does seem like a good idea. However that might only solve a minuscule percentage of the problem. It has been proven on multiple forums that money is not the greatest motivation. Today’s testers look for gratification and empowerment. That’s what motivates them. When they are part of large Agile teams it is important that management helps the testers find their own voice (8th Habit of Highly Effective People :-) ). They need to know that they are part of the team and can express their views independently. The testers therefore need to be more empowered to participate and contribute. They should be encouraged to take decisions. This certainly calls for a paradigm shift for the management. However, I must point out that that it’s not about the management losing control. It’s about building trust and confidence. More transparency needs to be brought in the feedback mechanism. Agile talks about building self-organizing cross functional teams. Let the team decide and the management support the decision.

The other factor that the management needs to be wary of is the reason why many manual testers are not willing to learn automation. While getting out of the comfort zone and lack of interest may seem to be the top reasons, the most important factor is fear. Most manual testers are afraid of coding. This calls for a mindset change or I dare say a cultural shift within the organization. A shift that encourages innovation, a shift that says it’s ok to make mistakes but not repeat them, a shift that that lets people learn the way they want to as long as they can show the value of the learning.
Another topic which encouraged a mini debate is the user Vs. tester mindset that the testers need to possess. The panel suggested that the testers need to behave like users for better results. In my opinion just being a user might not help. One must have the acumen of a tester. This was the point brought out by Santhosh Tuppad, the founder of TestInsane Testing Services, We Love Testing and many more. Qualities such as eye to detail and keenness on improving the quality of the product is a must. To add to that a tester must possess what I call Test Craftsmanship ( something that I spoke about in my session during #ATAGTR2017). Test Craftsmanship comprises of basic testing knowledge, essential knowledge of the test design and execution techniques and knowledge of the test tools along with domain knowledge. It is imperative therefore that while testers are encouraged to behave like a user, Test Carftsmanship is encouraged and nurtured.

There was another very well brought out point by Rohit Kishore, head of BFS testing at Cognizant was the shift needed for testers from a tools first to solutions first approach. This obviously means that the testers need more inclusion. More often than not that’s not the case and testing is included pretty late in the game and the question is that we have this problem and what tools can help me solve the problem. The team working on solutions needs to allow testers to participate in the creation of the solution and then evaluate various tools which can solve the problem.

#ATAGTR2017 provided us with a perfect platform to learn share and most importantly introspect. It was a perfect opportunity for all of us to look within ourselves and think about our ability and skill as testers. There is certainly a lot more to learn…

To conclude, I will quote a few lines by Robert Frost from his poem, Stopping by woods on a snowy evening

“The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep.”

#ATAGTR2017  Meet our speaker series : Medha Garg

blog1#ATAGTR2017 – Global Testing Retreat – this year’s largest, best and most fun filled global testing conference is definitely an opportunity for people to learn, share and most importantly have fun. Grab a chance to meet and learn from Experts and presenters from across the Globe in #ATAGTR2017.

Among the speaker series we have here Medha Garg, who would enlighten us on  “ChatBotblog2Medha Garg  is a QA Manager, with over 13  years of experience in Software Quality Assurance, associated with Sapient for more than 11 years now.  She has worked upon varied domains, tools and testing types, Has worked with multiple clients,  for estimations, planning, process controls and introduction, escalations and taking the overall ownership of quality and timeliness of deliveries.

 About Medha’s interactive talk (ChatBot):blog3


Medha Garg was gracious enough to respond to some of our speaker introduction questions. Please find below responses from Medha

1.What attracted you to speaking at #ATAGTR2017 this year?   blog42.What are you most looking forward to at this year’s conference?

Will be great to hear from a group of wonderful technologists and individuals on a variety of topics. Looking forward to be a part of this event.

3.What do you like to do you in your free time? (your hobbies etc)

I am a Relief Artist and a Pidlite certified crafts person who loves to spend time in mystical world of art & creativity. My work manifests varied art forms like relief work    ( 3d paintings and artefacts), cold ceramic paintings and mixed media

4.Who is your inspiration? Please share some lines about the same.

My husband. It was his honest and straight forward personality that made me fall for him and am so blessed to have him as my partner for life. He has been the driving force for me. My personal critic  , my supporter and my best friend.

Thanks Medha for being candid about the queries. We welcome her to #ATAGTR2017!


Update on #ATAGTR2017

Please note that there are 4 tracks in the conference, more than 55 sessions, 45+ interactive talks, 8 tutorials, 4 tool demos, fun activities, competitions and CafeATAhon.

Don’t you want to be a part of this wonderful conference.

Please feel free to register on the following URL

https://www.townscript.com/e/agiletestingalliancegtr2017/

Or get in touch with the team at

Harsh.Shah@ataevents.org or +91-8433919049.

Please refer the following interesting take on why reskilling and upskilling are really needed in today’s IT Landscape by Adi Garg

https://www.linkedin.com/pulse/industry-going-through-rough-weather-has-time-come-change-aditya-garg

Our marketing campaign which has listing of our tentative speakers is as below

http://eepurl.com/cCX36L

#ATAGTR2017  Meet our speaker series : ANURADHA BAND

blog1

#ATAGTR2017 – Global Testing Retreat – this year’s largest, best and most fun filled global testing conference is definitely an opportunity for people to learn, share and most importantly have fun. Grab a chance to meet and learn from Experts and presenters from across the Globe in #ATAGTR2017.

Among the speaker series we have here Anuradha Band, who would enlighten us on “The way to recover the issue faced in loT Regression Testingblog2

About Anuradha’s interactive talk (The way to recover the issue faced in loT Regression Testing):blog3


Anuradha Band was gracious enough to respond to some of our speaker introduction questions. Please find below responses from Anuradha

1.What attracted you to speaking at #ATAGTR2017 this year?   blog4

2.What are you most looking forward to at this year’s conference?

I am looking forward to hear from the speakers about their topics to know their experiences on different areas. off course, Yes, I am looking forward to present my topic too .

3.What do you like to do you in your free time? (your hobbies etc)

 In my free time, I like to do plantation at my home.

4.Who is your inspiration? Please share some lines about the same.

If considering with respect to paper presentation, my inspiration is my test manager Poonam Jain. She delivered many sessions and papers too. I know her by person.Overall in my life , my parents are my inspiration. My father has done graduation along with his work from too early age of his life .His dedication and attitude towards life inspires me.

Thanks Anuradha for being candid about the queries. We welcome her to #ATAGTR2017!


Update on #ATAGTR2017

Please note that there are 4 tracks in the conference, more than 55 sessions, 45+ interactive talks, 8 tutorials, 4 tool demos, fun activities, competitions and CafeATAhon.

Don’t you want to be a part of this wonderful conference.

Please feel free to register on the following URL

https://www.townscript.com/e/agiletestingalliancegtr2017/

Or get in touch with the team at

Harsh.Shah@ataevents.org or +91-8433919049.

Please refer the following interesting take on why reskilling and upskilling are really needed in today’s IT Landscape by Adi Garg

https://www.linkedin.com/pulse/industry-going-through-rough-weather-has-time-come-change-aditya-garg

Our marketing campaign which has listing of our tentative speakers is as below

http://eepurl.com/cCX36L

#ATAGTR2017  Meet our speaker series: RAJAT ACHARYA

 

blog1#ATAGTR2017 – Global Testing Retreat – this year’s largest, best and most fun filled global testing conference is definitely an opportunity for people to learn, share and most importantly have fun. Grab a chance to meet and learn from Experts and presenters from across the Globe in #ATAGTR2017.

Among the speaker series we have here Mr. Rajat Acharya, who would give us hands on tutorial on  “Protractor Cucumber BDD Approachblog2Rajat Acharya is an Automation Tester currently working with L&T Infotech, Navi Mumbai.

About Rajat’s tutorial (Protractor Cucumber BDD Approach):blog3


Rajat Acharya was gracious enough to respond to some of our speaker introduction questions. Please find below responses from Rajat Acharya

 1.What attracted you to speaking at #ATAGTR2017 this year?   blog42.What are you most looking forward to at this year’s conference?

I am looking forward to get in-depth of the latest tools and the best way I can implement in my assignments

3.What do you like to do you in your free time? (your hobbies etc)

Web Designing and web development , Learning New technologies, Reading About the startups and Cooking

4.Who is your inspiration? Please share some lines about the same.

Elon Musk is trying to redefine transportation on earth and in space. Through Tesla Motors he is aiming to bring fully-electric vehicles to the mass market; at SpaceX he launches satellites and is working to send humans to other planets. It has been a meteoric rise for Musk, as both companies he helped found and still runs have skyrocketed in value and catapulted Musk into the national spotlight.

Thanks Rajat for being candid about the queries. We welcome him to #ATAGTR2017


Update on #ATAGTR2017

Please note that there are 4 tracks in the conference, more than 55 sessions, 45+ interactive talks, 8 tutorials, 4 tool demos, fun activities, competitions and CafeATAhon.

Don’t you want to be a part of this wonderful conference.

Please feel free to register on the following URL

https://www.townscript.com/e/agiletestingalliancegtr2017/

Or get in touch with the team at

Harsh.Shah@ataevents.org or +91-8433919049.

Please refer the following interesting take on why reskilling and upskilling are really needed in today’s IT Landscape by Adi Garg

https://www.linkedin.com/pulse/industry-going-through-rough-weather-has-time-come-change-aditya-garg

Our marketing campaign which has listing of our tentative speakers is as below

http://eepurl.com/cCX36L

#ATAGTR2017  Meet our speaker series : SANDEEP PATIL

blog1
#ATAGTR2017 – Global Testing Retreat – this year’s largest, best and most fun filled global testing conference is definitely an opportunity for people to learn, share and most importantly have fun. Grab a chance to meet and learn from Experts and presenters from across the Globe in #ATAGTR2017.

Among the speaker series we have here Mr. Sandeep Patil, who would enlighten us on his topic “Performance Automation in Dev-Ops
blog2

 About Sandeep’s interactive talk (Performance Automation in Dev-Ops):
blog3

Sandeep was gracious enough to respond to some of our speaker introduction questions. Please find below responses from Sandeep

1.What attracted you to speaking at #ATAGTR2017 this year?   blog42.What are you most looking forward to at this year’s conference?

Great paper submissions, talks, demos, tutorials will definitely add knowledge.

3.What do you like to do you in your free time? (your hobbies etc)

Watching movies, Cycling, trekking, playing with my kids is a new hobby since 7 years.

4.Who is your inspiration? Please share some lines about the same.

Keeps changing, APJ Kalam is the most inspiring person for me and many of us but nowadays it’s a solution architect in my organisation inspires me the most.Many times sci-fi movies inspires me but that doesn’t lasts for long

Thanks Sandeep for being candid about the queries. We welcome him to #ATAGTR2017


Update on #ATAGTR2017

Please note that there are 4 tracks in the conference, more than 55 sessions, 45+ interactive talks, 8 tutorials, 4 tool demos, fun activities, competitions and CafeATAhon.

Don’t you want to be a part of this wonderful conference.

Please feel free to register on the following URL

https://www.townscript.com/e/agiletestingalliancegtr2017/

Or get in touch with the team at

Harsh.Shah@ataevents.org or +91-8433919049.

Please refer the following interesting take on why reskilling and upskilling are really needed in today’s IT Landscape by Adi Garg

https://www.linkedin.com/pulse/industry-going-through-rough-weather-has-time-come-change-aditya-garg

Our marketing campaign which has listing of our tentative speakers is as below

http://eepurl.com/cCX36L