dart-lang/transformer_test

Name: transformer_test

Owner: Dart

Description: Tools for testing Dart transformers

Created: 2016-01-19 20:25:55.0

Updated: 2017-05-15 20:19:39.0

Pushed: 2017-05-15 20:21:39.0

Homepage: https://pub.dartlang.org/packages/transformer_test

Size: 10

Language: Dart

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

transformer_test

A library which provides some tools for testing Transformers.

Features

This library provides a top level function testPhases which given a nested list of transformers to run and a list of inputs, will verify a list of expected outputs.

For example, given a transformer which copies all files to corresponding *.copy files, you could write the following test:

Phases(
new CopyTransformer()]],

'a|lib/a.dart': 'hello!'
 {
'a|lib/a.dart': 'hello!'
'a|lib/a.dart.copy': 'hello!'
;
Issues

Please file feature requests and bugs at the issue tracker.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.