Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Templating engine #3

Open
anthonygego opened this issue Apr 8, 2022 · 0 comments
Open

Templating engine #3

anthonygego opened this issue Apr 8, 2022 · 0 comments

Comments

@anthonygego
Copy link
Member

scriptTestBuilder.py currently looks pretty terrible. It's a really bad practice to make your code print hardcoded blocks like this. It soon becomes a mess when you want to update the template code.

You should clearly look at some templating engines, pick one and stick to it. I guess that jinja is powerful enough to do the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant