Dev policies

From Nasqueron Agora
Revision as of 20:43, 22 May 2023 by Dereckson (talk | contribs) (Created page with "This document represents policies about development at Nasqueron. == Testing == For new projects: * New applications SHOULD take a decision about code coverage and try to reach full coverage. ** Full coverage can be evaluated at "100% coverage" if it's appropriate, but can be defined otherwise by the team ** This coverage is evaluated with unit tests ** Integration tests are welcome everywhere it's appropriate * Tests MUST be automatised at Jenkins level to run when a d...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This document represents policies about development at Nasqueron.

Testing

For new projects:

  • New applications SHOULD take a decision about code coverage and try to reach full coverage.
    • Full coverage can be evaluated at "100% coverage" if it's appropriate, but can be defined otherwise by the team
    • This coverage is evaluated with unit tests
    • Integration tests are welcome everywhere it's appropriate
  • Tests MUST be automatised at Jenkins level to run when a diff is submitted or a commit is done

For existing projects:

  • New features should maintain or increase test coverage
  • If no testing facility is already there, new features should evaluate the need and do so if an unit test is valuable
  • For active projects, teams SHOULD define a goal like "reach 80% coverage"

Commits and code-review

See How to contribute code.

Code conventions

See Code conventions.