Skip to content
/ testdata Public

Test data for unit tests and ui development. Because Lorem is boring!

License

Notifications You must be signed in to change notification settings

henit/testdata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

Images

import quotes from 'testdata/got/quotes';
// ['quote 1', 'quote 2', ...]

Photos

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.

About

Test data for unit tests and ui development. Because Lorem is boring!

Resources

License

Stars

Watchers

Forks

Packages

No packages published