Skip to content

Decomposing individual template tests into separate test files

Daniel Croft requested to merge Split-up-template_test.go into master

Problem to solve

As described in #140 (closed) we're trying to simplify the template tests as the file in question is quite large.

Proposed solution

Decompose template_test.go into individual test files for each template.

Where I could use some help

  • Decomposing individual template tests into separate test files (this MR).
  • Should these new test files be in the same package?
  • If we use a shared package, is there a best practice for having shared test helper functions?
  • What else did I miss? 😁
Edited by Daniel Croft

Merge request reports