Testing your Reactions

 

Tanya Butenko

@ButenkoMe

ButenkoT

TAPE and Enzyme

Why TAPE?

Jasmine, Mocha etc

VS

TAPE

  • Too much configuration / Choose Tape - Done 
  • Globals / Simple module export
  • Shared State / contain all state to local test variable

Eric Elliot  @_ericelliott

Enzyme and Shallow Rendering

Nightwatch

Why Nightwatch?

  • Completely open source project
  • Clean Syntax
  • Built-in test runner
  • Selenium server
  • Cloud services support
  • CI support
  • CSS and XPath support
  • Easy to extend

Coding Time

Questions

Thank you!

twitter: @ButenkoMe

github: ButenkoT

May the Force be with You

Testing React (Tape, Enzyme, Nightwatch)

By Tanya Butenko

Testing React (Tape, Enzyme, Nightwatch)

  • 1,370