@coderbyheart on Twitter

A static archive of Markus Tacker's tweets. Follow me on Mastodon: @[email protected].

Home / Archive / 2021 / 2021-02 / 1365211076871217154

I've added an #e2e test for ensuring that calls to an external API work, and I
really love that I can tie this all in one test file:

  1. set up the expected call to the remote API
  2. Describe the action that triggers this call
  3. Verify that it happened

https://github.com/NordicSemiconductor/asset-tracker-cloud-aws-js/blob/676490a0ddc6d8489801c834412ce336846aa218/features/UnwiredLabsCellGeolocation.feature

Embedded Photo

Embedded Photo

Embedded Photo

Fri, 26 Feb 2021 08:04:19 UTC♥ 1↻ 1