Comments (17)
@JPDSousa can you describe how to build the project and run it?
I tried to build it with mvn clean install, but did not work
from mongo-obj-framework.
@cunhazera The mvn clean install
command will run the tests, which require an active mongodb connection in port 27020. If you have mongodb installed, simply type mongod --port 27020
in one console (this will create a mongodb server), and run mvn clean install
in a separate terminal.
from mongo-obj-framework.
Hi folks!
I'm planning to add some tests for Or/AndQuery.
from mongo-obj-framework.
@archie-swif That's really cool! Actually, the whole And/Or system might be a bit fragile ... i implemented it long time ago an never got the time to properly test it. But i totally encourage you to do it! I think it is a great feature (and totally useful for updates).
If you have any doubt or suggestion just share it! (might need to open a new issue for that)
from mongo-obj-framework.
@JPDSousa thanks for merging ec31910. Step by step and we'll get a high coverage!
Count on me.
from mongo-obj-framework.
@JPDSousa is anything left to test ?
from mongo-obj-framework.
@boaglio there is still some basic code in the collection's package, and in the gridfs package. I'm currently working in a new cool feature which will bring some new code to the project as well...
from mongo-obj-framework.
@tminussi I've made some upgrades to the parser package (#32), and decided to warn you in case your testing any parser code. The new logic i'm using is still incomplete (but functional) and it's still not fully tested, but i'll add some base tests as soon as i can!
from mongo-obj-framework.
@JPDSousa awesome. Thanks for letting me know!
from mongo-obj-framework.
@JPDSousa hi, I'd like to contribute too. Can I just take some untested piece of code, write tests and submit pr?
from mongo-obj-framework.
@Nipel-Crumple sure! If you have any doubt just let me know!
from mongo-obj-framework.
@JPDSousa I'd want to test SmofUpdate
class, and think about how to create test method for org.smof.collection.SmofUpdate#rename
? Maybe you have some ideas? Cause if I rename field, the mapping is broken and field is null after find()
from MongoDb
from mongo-obj-framework.
You're right @Nipel-Crumple . Well, to be fair, i didn't think much about it when i added the org.smof.collection.SmofUpdate#rename
method, as it is a bit useless to the project.
Maybe leave it untested for now. I'm going to tag it as @Deprecated
(or even remove) in a future patch, while i think of a cool application for the MongoDB's renaming feature (useful for the project). In the mean time, if you have some ideas feel free to share 😄
from mongo-obj-framework.
For anyone who is looking for code to test: #33 has brought a whole new set of querying features, some of them which are not tested yet. Feel free to extend ReadOpTest with some new cool query tests.
from mongo-obj-framework.
Okay, I got it, thanks a lot 🙂 So I'll try write tests for other methods of this class
from mongo-obj-framework.
JPDSousa Any class that I can pickup here? if so please add jira and assign it to me
from mongo-obj-framework.
Hey @lavanyajain this project is not active. Hence, we're not promoting future developments.
from mongo-obj-framework.
Related Issues (20)
- Support for MongoDB Java Driver native Codecs
- Improve Code Quality and Design HOT 4
- Support for date comparison
- Fix support for java.lang.Integer - BsonString
- Update Dependencies HOT 2
- Collection Fetcher
- Change project structure to maven hierarchy HOT 2
- Factory on CollectionUtils
- Fix CollectionUtils Test HOT 2
- Allow maps to be encoded as arrays
- Migrate ObjectParser to Codec Mechanism
- Migrate ArrayParser to Codec Mechanism
- Reference to non-registered Element
- Upgrade Update API
- Upgrade fetch from supertype
- Support for java.time.Duration
- VersionEye Link on Readme.md is broken HOT 1
- Registering the same object under two collections
- Inherit indexes from supertypes
- Break Primary Fields according to SmofType
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 mongo-obj-framework.