Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions third_party/packages/mustache_template/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test/spec
23 changes: 23 additions & 0 deletions third_party/packages/mustache_template/test/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Test Structure

## Specifications

`mustache_test.dart` and `mustache_specs.dart` generate tests for all mustache specifications,
except for those disabled by `mustache_test.dart`'s `unsupportedSpecs` constant.
`dart test mustache_test.dart` runs all of the generated tests.

Each generated specification file contains the mustache commit hash from which it was generated,
and the date when it was generated.

### Updating specifications

From the package root, run `dart run tool/download_spec.dart` to pull new definitions from the
mustache repository into `test/specs/`.

## Features
Comment thread
jslater89 marked this conversation as resolved.

Standalone or handwritten tests regarding template output go in `feature_test.dart`.

## Parser
Comment thread
jslater89 marked this conversation as resolved.

Tests for the template language parser go in `parser_test.dart`.
9 changes: 0 additions & 9 deletions third_party/packages/mustache_template/test/all.dart

This file was deleted.

This file was deleted.

Loading
Loading