Writing the test code is troublesome. Especially it will be troublesome to kind of like reproducing the display of the Web browser. If it is troublesome, the description will be inevitable or the test will be inadequate.
I would like to use it there nezumi. Generate Capybara / RSpec compatible test code from Google Chrome input contents.
How to use nezumi
A tab called nezumi is added to DevTools in Google Chrome. If you fill in the form while displaying it, you can make code compatible with Capybara.
Each time you enter the code will be added. After filling in the form, just press the COPY button.
By using nezumi you will be able to try inputs that are close to genuine on the actual moving form. I just copy and paste the code I made, so I will be able to say that we will change the input a bit and test it later.
nezumi is open source software for Google Chrome (MIT License).
No comments:
Post a Comment