Project

General

Profile

Feature #24294

add snapshot tests for templates

Added by Timo Goebel over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Templates
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:

Description

We should add a rake task to record snapshots of some templates and add tests to compare the current renderer output to the tests. This should prevent regressions.


Related issues

Related to Foreman - Refactor #22529: Refactor Template rendering to use a proper rendering serviceClosed
Related to Foreman - Bug #25091: LoadError: cannot load such file -- database_cleaner when running foeman-rake on production DEBsClosed

Associated revisions

Revision 89eaa0b6 (diff)
Added by Kamil Szubrycht about 1 year ago

Fixes #24294 - add snapshot tests for templates

History

#1 Updated by Timo Goebel over 1 year ago

  • Related to Refactor #22529: Refactor Template rendering to use a proper rendering service added

#2 Updated by The Foreman Bot over 1 year ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5986 added

#3 Updated by Lukas Zapletal about 1 year ago

  • Fixed in Releases 1.20.0 added

#4 Updated by Anonymous about 1 year ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Michael Moll about 1 year ago

  • Related to Bug #25091: LoadError: cannot load such file -- database_cleaner when running foeman-rake on production DEBs added

#6 Updated by The Foreman Bot about 1 year ago

  • Pull request https://github.com/theforeman/foreman/pull/6101 added

Also available in: Atom PDF