I heard about tests a lot. I did not use them. It was a pity that I also did not see projects these followed the approach all around were talking about. I started test writing from TDD(Test Driven Development) I also did not want to work over. I was interesting to become more proficient. There is an article Types of Software Testing: Different Testing Types with Details. I am a developer at first and I count my resources. I am describing the story from developer’s point of view. So what I have got it is my opinion only that I have received from using tests.
So testing is very wide topic that is described from different points for different people and it makes mess. Testing can be very expensive. It is a good way when you use testing meanwhile that makes small overhead but it increases quality indicators. Afterwards the project price becomes higher. Depends on what needs you have and requirements you set. I guess right now in some places I do not have overhead at all and I receive advantages that tests provide. Tests affect to code. Tests need testable code, the testable code is good decoupled code. The decoupled code is easy extendable and reusable code. It makes us to write quality code. I like to feel that TDD becomes not only a tool of code quality but also a tool of project development and debugging. Theoretically everything we develop have to be covered by tests. Test technologies are everywhere so almost everything is testable. But from my experience there are different technologies that requires different afford to cover a project by tests. Every modern web application consists of two big parts: front-end and back-end. We need to test back-end, front-end and both together. Because almost everywhere I work as a single player I produce my own approaches and strategies. My main requirement is an item of functional. At first I develop back-end using TDD, than I develop front-end without tests that fits to back-end. E2e tests I use to show functionality and new feature. It helps to generate video reports. This kind of tests can be run on different resources and test the different application on different application stages. For the last few years I have been developing using Angular. This is very mature technology. I started TDD on Angular projects. This very helpful when the two parts are developed by separated teams, they can start at once and continue development gluing it from time to time. Testing changes everything in the software development.
Комментариев нет:
Отправить комментарий