Giter Site home page Giter Site logo

fakemock's People

Contributors

er1z avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

1on

fakemock's Issues

Assert\File mocking

Currently only Assert\Image is supported — File is a bit more complicated and thinking of rules specification should be done.

Mock classes without changing them

I was starting to implement a library to create test fixtures populated with random data, but looking at the Faker documentation I found yours, and it does basically what I need, except that I would like to keep the classes I want to populate unchanged, i.e I would like to not have to annotate them with @FakeMock(), same thing for their properties. Is there a way to achieve this with fakemock?

I was think about using only the @var tag and Symfony constraint annotations to determine wether the property should be mocked and how.

Unit-tests asserts messages

Currently, only some of tests are described, need to clarify what are they doing but it's rather a lower priority.

Refactor unit tests

While code is pretty clean, tests are sometimes written lazy — they need to be refactored.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.