Giter VIP home page Giter VIP logo

Comments (12)

vubo avatar vubo commented on June 20, 2024

Add missing unit tests in organization/tests.py #28

from vms.

willingc avatar willingc commented on June 20, 2024

I like this!

GitHub tip: You can make checkboxes using GitHub markdown. Check out https://guides.github.com/features/mastering-markdown/ in the Task Lists section.

from vms.

vubo avatar vubo commented on June 20, 2024

@willingc It looks very cool, thank you!
tasks

from vms.

willingc avatar willingc commented on June 20, 2024

Nice. It is pretty cool :)

from vms.

jayesh92 avatar jayesh92 commented on June 20, 2024

@willingc @vubo Would It be a good idea to include the functional tests in this repo or should I include it in AUT repo. Benefit in first case is that I can integrate it with CI so all new code pushed passes throught these tests also.
I'm currently doing this on my local instance. For this we'll need to change the directory structure a bit. Instead of tests.py each app will contain a tests folder and an __init__.py . All tests need to be put up in this folder namely, unit-tests and functional tests.
Your views ? The respective commit for this can be seen in my fork jayesh92/vms@d7b5d93 and directory structure at https://github.com/jayesh92/vms/tree/master/vms/home
Above tests are included during CI. Corresponding travis build at https://travis-ci.org/jayesh92/vms

from vms.

willingc avatar willingc commented on June 20, 2024

Hmm...good questions. Nice job asking for thoughts and feedback.
I'm not yet sure what would be best. I would like to clarify with the other team members what their vision is longer term related to:

  • Python version support 2.7.10 or 3.4+
  • Django version support - recommend 1.8LTS

Would you both raise these questions on your weekly reports for discussion? It looks like Systers/portal is already using Python 3.4 and Django 1.7.7. I would recommend that VMS match their Django infrastructure, but this really is a discussion for a larger audience :)

Please feel free to continue discussing thoughts or ideas here too.

from vms.

vubo avatar vubo commented on June 20, 2024

Add missing unit tests in event/tests.py: #36

from vms.

vubo avatar vubo commented on June 20, 2024

Add missing unit tests in job/tests.py: #38

from vms.

willingc avatar willingc commented on June 20, 2024

@vubo You are making good progress on this issue. Let's try to get the remaining two done this week. I'll do a detailed review this weekend.

You may wish to do a quick skim of coverage.py docs, tox, and some of Harry Percival's Test Driven Development book (http://obeythetestinggoat.com). We'll likely use all of these when adding new features.

from vms.

vubo avatar vubo commented on June 20, 2024

@willingc yes, I will finish the tests before Sunday then.

from vms.

vubo avatar vubo commented on June 20, 2024

Add missing unit tests in shift/tests.py: #43

from vms.

vubo avatar vubo commented on June 20, 2024

Add missing unit tests in volunteer/tests.py: #47

from vms.

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.