Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.09 KB

KopytkoFrameworkTestSuite.md

File metadata and controls

33 lines (21 loc) · 1.09 KB

KopytkoFrameworkTestSuite API

Methods


Reference

assertDataWasSetOnStore

It checks if data was set on Store (part of Roku Framework).

Params:

  • data: Object - the data that should be set on Store
  • msg = "": String - additional message when test fails

assertRequestWasMade

It checks if request was made via createRequest (part of Roku Framework).

Params:

  • params = {}: Object - arguments passed to createRequest method
  • options = {}: Object
    • times: Integer - how many times it should be called
    • strict: Boolean - affects how the params are compared. When true the params object must match the arguments types and values (1 to 1 equality). If false the params object can contain some of the passed arguments that are tested
  • msg = "": String - additional message when test fails