State of platforms: Fragments Ahmedabad

On the state of platforms: React Native, Flutter, iOS, React

Tickets

Meet My New Friend: Testing

Submitted by Preeti Wadhwani (@preetiwadhwani) on Sunday, 17 February 2019

Technical level: Intermediate

View proposal in schedule

Abstract

Every day we write a hundred, thousand lines of code to build products in the aim of impacting the lives of people in a positive way. But how can we make sure that the key features the user uses do not stop working with every new deployment? How can we get confidence that when refactoring code the existing feature still works as expected?

This talk I am going to share with you my experience of dealing with these in React Native by moving towards TDD. Also how writing unit and e2e tests helped me write better code and build beautiful apps.

Outline

  • I will start with a story on how difficult it was to test when there were no tests in the codebase and manually testing everything was so tedious
  • Many people had motivated me to move towards TDD and getting chance to work with people who encourage testing in the codebase helped me to move towards it
  • I started with writing unit tests using Jest is used by Facebook, and as per my experience unit test helps in improving your code architecture and helps you write better code
  • Showing the examples for the same to understand it better
  • When the feature development is done to test it we used detox with Cucumber to write e2e tests
  • This greatly helped us in BDD and automate tests saved time to manually tests everything
  • Showing the example of the same
  • Thus writing tests helped in refactoring with confidence as if any other developer is changing the code running tests provide information if the previous feature working as expected

Speaker bio

Preeti is a programmer at heart, with over 4+ years on mobile. She’s worked on multiple but Android remains her passion, with her experience allowing her to handle complete development cycles, and to go on and lead adjacent teams. When she isn’t glued to her code, Preeti can be found experimenting with gourmet or playing her guitar.

Links

Slides

http://rn-testing.surge.sh/#/

Comments

  • Disha Mourya (@disha4mourya) 8 months ago

    It’s amazing!

  • Ellie Harry (@ellieharry) 7 months ago

    It’s some time since I modified, so not certain, however in the event that you are going to utilize scratch pad, I don’t know whether you can utilize a debugger with that. A debugger is typically part of the application/language you’re utilizing. Perhaps scratch pad records can be brought into another application and tried there. http://www.australianessay.com/

  • Liza John (@lizajohn) 6 months ago

    No framework obtainable for Receptive web design for mobile Info Stretch Approach Recommended best practices for automating native & web app using device cloud Collaborated with Scrum Team and recognize web- service/JSON role in test data generation/formation. http://www.assignmentmoz.co.uk/

  • steafkrish (@steafkrish) 6 months ago

    i want like this topic and any think so make easily solution for bing is the best callect reward and enjoy http://bingrewards.info
    students should make it a point to make contact with which is provided by Essays Tigers. This service has amassed such stature and status in the industry, as they remain customer-centric in their approach

  • anthony rogers (@anthonyrogers) 6 months ago

    Testing is the procedure to review an app that possess the customer’s requirements therefore to the previous design and analysis. http://www.bestassignmenthelp.co.uk/

  • Dimitry Abramob (@mboaiewoait) 4 days ago

    Stride también puede ser un gran elemento. En caso de que su zancada muestre demasiada pronación o incluso supinación de nuevo hacia adentro y hacia afuera moviéndose desde los pies, ya que ataca y aleja el calzado disponible en el Zapatos Converse One Star Premium en venta https://www.frankytienda.com/converse-one-star-premium-c-218_301.html piso, ya que puede necesitar un calzado o incluso una plantilla que maneje este particular.

  • Dimitry Abramob (@mboaiewoait) a day ago

    Diese für Ihre anfängliche Anzahl von Arbeiten, wenn Sie Joggingschuhe erwerben, Schuhe Caterpillar Colorado https://www.schuheholds.com/caterpillar-colorado-c-200_202.html die dazu verwendet werden, dann können Sie das dort draußen sicher ausdehnen.

Login with Twitter or Google to leave a comment