Project

General

Profile

Feature #24294

add snapshot tests for templates

Added by Timo Goebel 5 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Templates
Target version:
-
Team Backlog:
Fixed in Releases:
Found in Releases:

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 3 months ago

Fixes #24294 - add snapshot tests for templates

History

#1 Updated by Timo Goebel 5 months ago

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

#2 Updated by The Foreman Bot 4 months ago

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

#3 Updated by Lukas Zapletal 3 months ago

  • Fixed in Releases 1.20.0 added

#4 Updated by Anonymous 3 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Michael Moll 3 months 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 3 months ago

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

Also available in: Atom PDF