testdata
Test data for unit tests and ui development. Because Lorem is boring!
Usage
npm install --save-dev testdata
Game of Thrones
All objects
import got from 'testdata/got';
// got.author, got.book1, got.TyrionLannister, ...
Get random object
import got from 'testdata/got';
got.getRandomBook();
got.getRandomCharacter();
got.getRandomQuote();
Author
import author from 'testdata/got/author';
JSON Direct links
Books
import books from 'testdata/got/books';
// books.book1, ...
import book1 from 'testdata/got/books/book1';
JSON Direct links
- Book 1 - A Game of Thrones
- Book 2 - A Clash of Kings
- Book 3 - A Storm of Swords
- Book 4 - A Feast for Crows
- Book 5 - A Dance with Dragons
- Book 6 - The Winds of Winter
- Book 7 - A Dream of Spring
Characters
import characters from 'testdata/got/characters';
// characters.EddardStark, ...
import ned from 'testdata/got/characters/eddard-stark';
import 'testdata/got/characters/eddard-stark.jpg';
// For Webpack loaders or similar use cases
JSON Direct links
- Cersei Lannister
- Daenerys Targaryen
- Eddard Stark
- Jaime Lannister
- Jon Snow
- Petyr Baelish
- Tyrion Lannister
Images
- Cersei Lannister
- Daenerys Targaryen
- Eddard Stark
- Jaime Lannister
- Jon Snow
- Petyr Baelish
- Tyrion Lannister
Quotes
import quotes from 'testdata/got/quotes';
// ['quote 1', 'quote 2', ...]
Photos
- City (1280px, 640px )
- Crystal (1280px, 640px)
- Fireplace (1280px, 640px)
- Food (1280px, 640px)
- Lantern (1280px, 640px)
- Mountains (1280px, 640px)
- Music (1280px, 640px)
- Night (1280px, 640px)
- Owl (1280px, 640px)
- Sunset (1280px, 640px)
- Winter (1280px, 640px)
Copyright
Testdata contains references, data and multimedia contents that is copied from published novels and media. This contents is used for the sake of familiarity and respect for the quality of the works. Testdata is open source and not for any kind of commercial use.
Source of photos: pixabay.com, released under Creative Commons CC0.