In the blog post , you can get how to create the category attributes to the database. In magento 2.0.0, it was enough to show the field on the category. But, in magento 2.1.0 onwards, we need to add some more code to show the field on the admin category edit page.
We have checked on how to do unit testing in magento in previous post . That is not enough to test the magento website. If we can testing the magento home page, login page, etc. it would be great. Fortunately, we have a module that deals with this situation.