To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorFull cache.manifest parsing
Demo of cache.manifest parsing with extended markup.
- Background Full sample creation
-
- Given
-
the "arena" folder contains "sample.manifest" with:
CACHE MANIFEST index work # Demo comment # Extraction Stop ignore_this and_this # Extraction Start projects projects/first NETWORK: projects/all # Extraction Start projects/last # Extraction Stop projects/search/ CACHE: contact docs/tos docs/privacy # Extraction Stop docs/links # Extraction Start docs/another # Other comments are ignored FALLBACK: offline # Extraction Start offline/exception # Extraction Stop offline/not_found
- Scenarios
-
- Parse file
-
- When
- I read the file locally from "arena/sample.manifest"
- Then
- I should not have in the list "CACHE MANIFEST"
- And
- I should have in the list "index"
- And
- I should have in the list "work"
- And
- I should not have in the list "# Demo comment"
- And
- I should not have in the list "# Extraction Stop"
- And
- I should not have in the list "ignore_this"
- And
- I should not have in the list "and_this"
- And
- I should not have in the list "# Extraction Start"
- And
- I should have in the list "projects"
- And
- I should have in the list "projects/first"
- And
- I should not have in the list "NETWORK:"
- And
- I should not have in the list "projects/all"
- And
- I should have in the list "projects/last"
- And
- I should not have in the list "projets/search/"
- And
- I should not have in the list "CACHE:"
- And
- I should have in the list "contact"
- And
- I should have in the list "docs/tos"
- And
- I should have in the list "docs/privacy"
- And
- I should not have in the list "docs/links"
- And
- I should have in the list "docs/another"
- And
- I should not have in the list "FALLBACK:"
- And
- I should not have in the list "offline"
- And
- I should have in the list "offline/exception"
- And
- I should not have in the list "offline/not_found"
Last published over 7 years ago by xaviervia.