You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With our growing number of rendering options, it is hard to make sure that changes to templates do not cause regressions. We should add end-to-end tests for all combinations of rendering options (matrix), with simple input, asserting the output stays unchanged on next runs. We could maybe use pytest inline snapshot from @15r10nk for that 😉
Activity
15r10nk commentedon Apr 20, 2024
You can take a look here https://github.com/15r10nk/lazy-imports-lite/blob/main/tests%2Ftest_exec.py where I do end to end tests. Just to get some inspiration.
There are a lot of ways to use inline-snapshot. I'm curious how you will use it.
tests: Add templates rendenring tests using inline-snapshot
tests: Add templates rendenring tests using inline-snapshot
tests: Add templates rendenring tests using inline-snapshot
tests: Add templates rendenring tests using inline-snapshot
tests: Add templates rendenring tests using inline-snapshot
tests: Add templates rendenring tests using inline-snapshot
tests: Add templates rendenring tests using inline-snapshot
tests: Add templates rendenring tests using inline-snapshot
tests: Add templates rendenring tests using inline-snapshot