(941) 362-5078

I got a task about Xero integration in my work last week, aiming to copy invoices from one account to the other. To perform this task, the workflow will be:

    1. Invoice created/updated in Xero account A
    1. The webhook from Xero account A is triggered
    1. Our App handles the webhook and copy the newly created/updated invoice to Xero account B

This article will show you how to setup Xero and talk about some tricky parts of the task.

Continue reading →

Cypress: UI Test For Your React/Webpack Project

UI Test has been a problem for every web front end project once it grows and becomes rather complicated while the common unit tests fail to cover complex workflow and business logic.

UI Test in this artile, I would say it’s more like integration test, but I would not put it as E2E test, since I have no intention to test the real backend. So the things that I am going to talk about in this article, are “login and redirect to the home page”, “sign up and redirect to the home page”, “create a query in the dashboard and see if the result is correctly rendered” and all sort of stuff that a unit test is unable to cover.

(705) 697-8745

《如何阅读一本书》 笔记

这本书的目的

提供阅读的技巧,以帮助读者在没有外在帮助的情况下,提升自己的理解力。让读者学会求得理解而阅读。

作者关于读书的一些观点:

太多的资讯就如同太少的资讯一样,都是一种对理解力的阻碍。换句话说,现代媒体争议压倒性的泛滥资讯阻碍我们的理解力。(现代的媒体,精心挑选包装各种信息和观点,直接呈献给观众,是的观众根本不需要思考,接受就行了)

4257057067

7078643914

Story Brief