GithubHelp home page GithubHelp logo

Comments (6)

elliot41 avatar elliot41 commented on June 27, 2024

It seems that it launch the crud instead of the crudmock.

from apex-dml-mocking.

jamessimone avatar jamessimone commented on June 27, 2024

@elliot41 it does seem that way. I haven’t looked at the example app in a long time - note that that directory is not actually necessary and is meant to be purely an example - but I will get this fixed up later today.

from apex-dml-mocking.

jamessimone avatar jamessimone commented on June 27, 2024

@elliot41 you should be all set with the updates I just pushed!

from apex-dml-mocking.

elliot41 avatar elliot41 commented on June 27, 2024

@jamessimone it worked well, thanks ! I'm still impressed that we have 100% code coverage on the class without any dml operation 😱

from apex-dml-mocking.

elliot41 avatar elliot41 commented on June 27, 2024

Can I push my modifications on the example-app ? I added an account.trigger file, and I pass the method from before to afterInsert to get the opp linked to the created accounts.

from apex-dml-mocking.

jamessimone avatar jamessimone commented on June 27, 2024

@elliot41 you will have to fork the repository, push your changes there, and open a pull request for me to review. I will then be able to see what you’re talking about. Please keep in mind that the example-app is meant to be an extremely minimal representation of how the factory, dependency injection, and the DMLMock play together.

from apex-dml-mocking.

Related Issues (12)

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.