gesjeremie / faker-elixir Goto Github PK
View Code? Open in Web Editor NEW[unmaintained] FakerElixir generates fake data for you.
Home Page: https://hexdocs.pm/faker_elixir_octopus/FakerElixir.html
[unmaintained] FakerElixir generates fake data for you.
Home Page: https://hexdocs.pm/faker_elixir_octopus/FakerElixir.html
It'd be really great if FakerElixir had a way to generate unique data. This is really useful when certain fields in your mock object require uniqueness to be valid. Basically, if you have this requirement, your test will randomly fail based on whether the data generated for that unique field was actually unique.
Not really sure if it is relevant to this library, since it's more related to mock-ups than generating data.
I forgot to add the sentences/0
method, right now it doesn't respect the guide lines of the generator since we have characters/0
and words/0
.
I will fix it in the next release: 0.11.2.
I was trying to run my tests with mix test
and it outputs this strange error
** (Mix) Could not start application faker_elixir_octopus: could not find application file: faker_elixir_octopus.app
I suspect something went wrong with Faker Elixir, do you have any lead on the matter ?
Thanks for this great package. One side note, you don't need to add :faker_elixir_octopus
to your application if you're only going to use it in seeds or tests.
# seeds.exs
Application.start(:faker_elixir_octopus)
or
# test_helper.exs
Application.start(:faker_elixir_octopus)
https://hex.pm/packages/faker and this package have pretty much the same propose. Speaking from my experiences in another ecosystem like Node
and Ruby
, it's really painful when you have that many "duplicate in term of propose of the package" We hurts ourself doing these practices.
Anyway, because this is a long conversation.
As today https://hex.pm/packages/faker is the most popular and used on hex
so I would love to this package integrate with faker
https://github.com/igas/faker if there is not problem with @GesJeremie and @igas, for the good of the whole community it's better to join forces, resource and time rather than split it up. So both of you don't have to deal with releases, updates, feedbacks, PRs and so on by your own.
I would @igas to see if you can get some work together on what @GesJeremie have and you have on faker
๐
I love diversity as much you do but when there is big fundamental differences, and even that, I would argue that most of the time is actually separate abstractions and create new architecture rather than just how it's coded
Please @GesJeremie work with @igas on this, and my apologies if I don't understand the differences between both packages because I am talking as an user from hex
Hi,
Very good library. I wanted to use FakerElixir.Date
for my project and realized there's no distinction between Time
, Date
and DateTime
; maybe you could improve this part ?
Time
would be a real time
Date
would be a strict date
DateTime
would be a date with a time
Right now there's only a Date
and sounds more like a DateTime
to me.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.