Skip to content
This repository

Generate formatting tests from common data file #216

bitwiseman opened this Issue March 28, 2013 · 1 comment

2 participants

Liam Newman Daniel Stockman
Liam Newman

Keeping test files synchronized across js and python isn't too hard but it is confusing and error prone. It would be better if we generated the formatting tests from the same file for both. This would high light points where the two scripts diverge.

Daniel Stockman

A pattern I've seen work reasonably well ( is to create common input and expected output files, then consuming and diffing (respectively) in both language variants. It would also better facilitate writing acceptance tests for the HTML and CSS beautifiers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.