Comments (6)
It seems that it launch the crud instead of the crudmock.
from apex-dml-mocking.
@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.
@elliot41 you should be all set with the updates I just pushed!
from apex-dml-mocking.
@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.
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.
@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)
- Suggestion: add call of trim() to this line HOT 4
- System.NullPointerException in AccountHandlerTests HOT 3
- Add support for FLS-checked queries HOT 1
- Add support for parent-level filtering with Query object
- Salesforce String gets shortened HOT 3
- Add readme of how to create all your classes to SFDC HOT 3
- Feature request: Support DMLOptions and AccessLevel for writes HOT 2
- Add License File HOT 1
- DMLMock Issue HOT 3
- isEmpty check in doDelete and doHardDelete methods HOT 2
- Add support for aggregate queries
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apex-dml-mocking.