15
I would like to ask my question on the basis of in that matter on tests.
There are different ways to document a software, the ones I’ve noticed the most are:
- Class documentation (developer comments on the objective and/or task of that class)
- Method documentation (developer comments on the objective, actions and/or tasks that method performs)
- Documentation within the code (the developer comments on what happens on a particular line of code)
- Documentation generated in an automated manner from the Javadocs, for example.
Therefore, basing on some questions from the link I mentioned above:
- What would be a good way to document the software?
- Is it interesting to put documentation in the code? Is it useful only for inexperienced developers at the beginning of their career or also for experienced developers who already have mastery of the language? I ask this because I have heard that they do not need documentation because reading the code you already know what action that piece of code performs. But from what I observe the architecture of the system has its influence, the way the developer developed it, I can cite example the concept of MVC, Dependency Injection that have their architectures, so the developer could create a different architecture for a design pattern within the application.
- There are criteria for this?
- As a basis for the best response from question that I mentioned about testing, within the system documentation there are descriptions, such as, Integration test, Unitary Test, Canary Release what were mentioned in the answer? But in that question I created referring to documentation.
Usually documentation serves to implement a new feature or change an existing one.
– Laerte