GithubHelp home page GithubHelp logo

Comments (17)

cunhazera avatar cunhazera commented on August 23, 2024

@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.

JPDSousa avatar JPDSousa commented on August 23, 2024

@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.

archie-swif avatar archie-swif commented on August 23, 2024

Hi folks!
I'm planning to add some tests for Or/AndQuery.

from mongo-obj-framework.

JPDSousa avatar JPDSousa commented on August 23, 2024

@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.

tminussi avatar tminussi commented on August 23, 2024

@JPDSousa thanks for merging ec31910. Step by step and we'll get a high coverage!

Count on me.

from mongo-obj-framework.

boaglio avatar boaglio commented on August 23, 2024

@JPDSousa is anything left to test ?

from mongo-obj-framework.

JPDSousa avatar JPDSousa commented on August 23, 2024

@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.

JPDSousa avatar JPDSousa commented on August 23, 2024

@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.

tminussi avatar tminussi commented on August 23, 2024

@JPDSousa awesome. Thanks for letting me know!

from mongo-obj-framework.

Nipel-Crumple avatar Nipel-Crumple commented on August 23, 2024

@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.

JPDSousa avatar JPDSousa commented on August 23, 2024

@Nipel-Crumple sure! If you have any doubt just let me know!

from mongo-obj-framework.

Nipel-Crumple avatar Nipel-Crumple commented on August 23, 2024

@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.

JPDSousa avatar JPDSousa commented on August 23, 2024

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.

JPDSousa avatar JPDSousa commented on August 23, 2024

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.

Nipel-Crumple avatar Nipel-Crumple commented on August 23, 2024

Okay, I got it, thanks a lot 🙂 So I'll try write tests for other methods of this class

from mongo-obj-framework.

lavanyajain avatar lavanyajain commented on August 23, 2024

JPDSousa Any class that I can pickup here? if so please add jira and assign it to me

from mongo-obj-framework.

JPDSousa avatar JPDSousa commented on August 23, 2024

Hey @lavanyajain this project is not active. Hence, we're not promoting future developments.

from mongo-obj-framework.

Related Issues (20)

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.