Sep 2017
11 Mon
12 Tue
13 Wed
14 Thu 08:30 AM – 05:45 PM IST
15 Fri
16 Sat
17 Sun
Sep 2017
11 Mon
12 Tue
13 Wed
14 Thu 08:30 AM – 05:45 PM IST
15 Fri
16 Sat
17 Sun
Deepak Pai
Testing is like working out. Everyone knows it’s good for you but very few of us do it.
Testing frontend applications is very different from testing their backend counterparts. Hence, we consider it to be difficult and shy away from it.
The most common dilemmas we face when it comes to frontend testing are: a) where to start and b) how to test. This talk aims to instil a testing mindset while providing a deep insight into frontend testing and how to go about it the right way.
I will be talking about the AAA pattern which makes it easy to write tests for anything. AAA stands for Arrange, Act, Assert. All unit tests consist of these 3 stages. Writing tests becomes easy when you are able to break the test down into these stages.
Maintaining tests is another important aspect often ignored while testing. We need to set up processes, such as pre merge test runs,that ensure that the corresponding tests are always updated after every code change.
When you have a good grasp of writing tests for frontend applications, testing applications built using React and Redux can be easy because of the declarative style in which they’re written.
The talk will be focused on how to test applications built with React and Redux and will cover the following areas
The talk is aimed at people who already have some experience building applications in React.
I am a UI engineer at Flipkart and as a part of the team that rebuilt the desktop website from the ground up, I have set up the testing framework and processes for the Flipkart desktop website, as well as for other projects within the company. I am a great believer in good and thorough testing and think that better testing always leads to better software.
https://docs.google.com/presentation/d/1PFi0NbIby2wH3HTnfRNnu-plIMGJIX8U1NX5EdDUUTs/edit?usp=sharing
Sep 2017
11 Mon
12 Tue
13 Wed
14 Thu 08:30 AM – 05:45 PM IST
15 Fri
16 Sat
17 Sun
Hosted by
{{ gettext('Login to leave a comment') }}
{{ gettext('Post a comment…') }}{{ errorMsg }}
{{ gettext('No comments posted yet') }}