Code Monkey home page Code Monkey logo

Comments (5)

takluyver avatar takluyver commented on July 23, 2024

My view is that nbval is more a way to check that examples are not broken, rather than a replacement for traditional unit tests.

You could, of course, write a notebook using the public API of a module that doesn't exist yet, ignoring any output, and write the module, using nbval to see when the notebook runs without errors. But that approach doesn't seem terribly practical.

from nbval.

michaelaye avatar michaelaye commented on July 23, 2024

ok, thanks!

from nbval.

fangohr avatar fangohr commented on July 23, 2024

Hi @michaelaye, thanks for the comments and input.

I am also interested in realising TDD with Jupyter. I started to put an example together at https://github.com/fangohr/tdd-with-jupyter ; maybe that is of interest.

Any comments and new ideas welcome :)

Best wishes,

Hans

from nbval.

michaelaye avatar michaelaye commented on July 23, 2024

Sorry, off-topic but:
Hallo Hans und MoinMoin!
Hamburger Jung, wa? ;) Ich komm aus Heide/Holstein, war immer gerne in Hamburg. Jetzt in Colorado. Hoffe es regnet nicht noch mehr in Southhampton als in Hamburg! ;)

from nbval.

fangohr avatar fangohr commented on July 23, 2024

Hi Michael and moinmoin, too :) Yes, weather in Southampton is significantly warmer, and also less rainy. Or at least no prolonged periods of rain; compared to Hamburg.

from nbval.

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.