Git Product home page Git Product logo

Comments (6)

parsonsmatt avatar parsonsmatt commented on July 18, 2024

do we want this to be "move doctests into test suite"?

from fp-course.

bitemyapp avatar bitemyapp commented on July 18, 2024

I don't think so. They made a Tasty test suite in part because of how unreliable doctests were. I think they're all duplicate between the main test suite and the doctests. The previous versions of the README seemed to imply the doctests were optional content too. Please LMK if I'm wrong about this.

from fp-course.

parsonsmatt avatar parsonsmatt commented on July 18, 2024

OK. Do we want to keep them as examples and just not use doctest for it, or delete outright?

from fp-course.

bitemyapp avatar bitemyapp commented on July 18, 2024

Leave it in for now as long as it behaves itself. It had caused trouble in the past but that might actually be in the past. With a separate test suite for learners to use, the ergonomic problems aren't as relevant as it's basically just the maintainer's problem.

from fp-course.

parsonsmatt avatar parsonsmatt commented on July 18, 2024

The only tricky thing we might want to do is make stack test only run the hspec tests, and not the doctest test suite. Or maybe the doctests can just be an executable that we build and run in CI

from fp-course.

bitemyapp avatar bitemyapp commented on July 18, 2024

That's a good idea.

from fp-course.

Related Issues (14)

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.