Principles
It may be useful to define some rules/principles to follow in your project that are beyond the scope of a coding style. Following rules/principles can give you discipline which should lead to cleaner and more maintainable code.
Epic Fantasy Forge Principles
The five principles followed during the development of Epic Fantasy Forge are listed below:
- Unit test coverage should be at least 90%.
- Integration test coverage should be at least 80%.
- E2E tests should cover all happy paths.
- Tests should be written before production code.
- Implement a change for all platforms at the same time.
Tip
It is not always feasible to follow these principles 100% of the time. It is sufficient to attempt to follow them whenever it is feasible to do so.