elixirs/faker
소개
Faker는 가짜 데이터를 생성하는 순수 Elixir 라이브러리입니다.
개발 도구측정된 스타 증가
- in 24h
- +1
- in 7 days
- +1
- in 15 days
- +2
- in 1 month
- 0
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalFaker
Faker is a pure Elixir library for generating fake data.
Quickstart
add
{:faker, "~> 0.19.0-alpha.5"}to your deps inmix.exs:defp deps do [ {:faker, "~> 0.19.0-alpha.5", only: :test} ] endrun:
mix deps.getadd
Faker.start()totest/test_helper.exs:ExUnit.start() Faker.start()jump to usage examples.
Requirements
- OTP 19+
- Elixir 1.6+
Usage
See documentation and usage examples.
Troubleshooting
If you get a message like the one below when you call
Faker.Address.city/0, you need to add:fakerto your application's mix file, in theapplicationsfunction, as above.** (FunctionClauseError) no function clause matching in Faker.Address.city_count/1 lib/faker/address.ex:48: Faker.Address.city_count(nil) lib/faker/address.ex:41: Faker.Address.city/0
Tools
Faker was designed as a lightweight library, that's why it can be easily used with other tools.
Templating
You can build templates for testing purposes with the Blacksmith project. See the Blacksmith readme for details.
Team
Faker was originally written by Igor Kapkov.
Current list of maintainers:
Contributing
Do you want to become a maintainer?
See our CONTRIBUTING.md and start contributing today. We usually elect new maintainers based on contributions.
Thanks
License
Released under the MIT License.
관련 프로젝트 살펴보기
불러오는 중…