JSFoo: round the year submissions

JSFoo: round the year submissions

Submit talks on JavaScript and full stack engineering round the year

Yaser Adel Mehraban


You are doing testing wrong

Submitted Oct 1, 2018

Writing react tests has been complicated and challenging because of the generalised dogma of testing implementation details over workability and user interactions and interfaces.

This gets even harder when Redux comes into play and suddenly you will see yourself dealing with all sort of situations where you don’t know what to test and what to leave since you might think you’re testing somebody else’s code.

But fear not, in this talk I will show you some simple techniques you can use to successfully write practical tests and improve your code coverage by a great deal.

If you’re ready, bring your coffee and sit relax, we’re gonna have a hell lot of fun!


  • Intro to testing in React
  • Intro to some tools and libs used for testing
  • Covering basic scenario tests
  • Covering some advanced test scenarios
  • Adding Redux to the mix
  • Conclude on what to test and what to leave

Speaker bio

This man whose name only looks hard to say, is a creative web developer, consultant, blogger, hiker and father. He is a puppet master of code, bending the backend code to his will in elegant and ingenious fashion.

He is a die hard fan but don’t hold this against him because, well, he is still a team player and , umm, poutine.


{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more