Git Product home page Git Product logo

Comments (5)

sarahzrf avatar sarahzrf commented on August 28, 2024

How fleshed-out does this need to be, and which stuff do I need to have tests for, by the end of GSoC? E.g., do I need to write tests for the Piece startup process as a whole? for parsing Designs? for any multi-Piece interactions?

from ecell.

digitalextremist avatar digitalextremist commented on August 28, 2024

Celluloid convention is TDD so there is a tacit expectation that there be tests for everything.

You seemed shocked by this. At the very least, all the tests need to be setup, but kept pending or xit or equivalent. This is an unfortunate compromise.

Ideally, all tests for all objects and all processes would be in the repository before code was originated/migrated. So after the outline of bypassed tests are done, and all the other items on your roadmap, complete as many tests as you can ( and then do more ).

from ecell.

sarahzrf avatar sarahzrf commented on August 28, 2024

Stuff to test:

  • Color
    • Wrote some tests already
  • Line
    • Wrote some tests already
  • Spool (if we're even keeping Spool around)
    • TODO
  • Frame
    • Provisioning
    • Event publishing
    • Startup and shutdown
  • Logger (module in Internals)
    • Difficult to test because so much stuff calls into it. It's hard to isolate.
  • Figure
    • Face initialization
    • Line initialization
    • Event handling
  • Management
    • Manage
      • Can issue instructions and wait for replies
      • Leader automaton functions correctly
    • Cooperate
      • Executes instructions and replies
      • Follower automaton functions correctly
    • Administrate
      • I'm not personally clear on what this is supposed to do, once implemented.
  • Awareness
    • Notice
      • Reports
    • Announce
      • Heartbeats and presences
  • Vitality
    • Correctly handles an attaching follower
    • Sends out pings
    • Correctly handles a follower dying
    • Utility methods work as expected
  • Logging (shape in Base)
    • Run under an ID other than :logging so that it doesn't get logged to by normal code.
    • Collate
      • Prints logs
    • Document
      • Sends logs
    • Relay
      • Relays logs
  • Calling
    • Answer
      • Answers calls
    • Switch
      • Switches calls
    • Call
      • Places calls
  • Distribution
    • Distribute
      • Distributes (and collects?) tasks
    • Process
      • Pulls tasks
      • Reports results
  • Certain Figure interactions - need to work this out.
    • TODO

Do we need tests for the Sketches from Ef? They don't seem to be core ECell functionality.

from ecell.

sarahzrf avatar sarahzrf commented on August 28, 2024

@digitalextremist Just how skeletal can I get away with this being?

from ecell.

sarahzrf avatar sarahzrf commented on August 28, 2024

OK, I've added it clauses for each of the behaviors outlined above. How much do i need to fill them in with?

from ecell.

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.