Git Product home page Git Product logo

Comments (5)

bnoordhuis avatar bnoordhuis commented on August 28, 2024

I'm not sure I'm following.

from http-parser.

bmeck avatar bmeck commented on August 28, 2024

As it stands the tests are in :

https://github.com/joyent/http-parser/blob/master/test.c

It would be nice if the http data (.raw) and the other properties could be
consumed as JSON/XML/something that is easily used by multiple consumers,
even just moving the .raw to be in files would be a big win for test cases.

On Tue, Jul 10, 2012 at 10:08 AM, Ben Noordhuis <
[email protected]

wrote:

I'm not sure I'm following.


Reply to this email directly or view it on GitHub:
#119 (comment)

from http-parser.

bnoordhuis avatar bnoordhuis commented on August 28, 2024

What's stopping you from pasting the test data into a new file and printing it out in a suitable format?

from http-parser.

bmeck avatar bmeck commented on August 28, 2024

Just test maintainance
On Jul 10, 2012 3:55 PM, "Ben Noordhuis" <
[email protected]>
wrote:

What's stopping you from pasting the test data into a new file and
printing it out in a suitable format?


Reply to this email directly or view it on GitHub:
#119 (comment)

from http-parser.

bnoordhuis avatar bnoordhuis commented on August 28, 2024

I don't know. I guess I could move the test data array into a test-data.h file so multiple source files can consume it but that's not something that improves the quality of the http-parser project itself.

I'm going with the advice my nana gave me many years ago, "when in doubt, say no" ("don't eat the yellow snow" was a good one too). So no, but thanks for the suggestion.

from http-parser.

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.