Giter Site home page Giter Site logo

Comments (4)

perlpunk avatar perlpunk commented on May 26, 2024

I've been messing about in different languages and different YAML implementations. To make this easier I made a JSON file containing all named tests and their data.

If this is more handy than the data branch, we could generate a JSON file in a separate branch.
Would be one JSON file per test also ok or do you need one single file?

What do others think?

This file will be outdated soon and only has the named tests, so how about adding something similar containing all tests?

What do you mean by "named tests"?

Also finding the data branch was way too hard, please make the readme section explaining it bigger and or bolder ;)

Ideally people should rather use the data release instead of the branch directly. However, I've been very busy with other things and haven't made a release for a while :-/

from yaml-test-suite.

flucknugget avatar flucknugget commented on May 26, 2024

If this is more handy than the data branch, we could generate a JSON file in a separate branch.
Would be one JSON file per test also ok or do you need one single file?

Why not both? But I would put it on the YAML Test Matrix website to make it easier to find. Like a full version of data-valid.js and data-invalid.js as JSON. Those files were almost what I was looking for, they just didn't have names and were JS instead of JSON.

What do you mean by "named tests"?

The name folder. Maybe that's all of them I don't know. The IDs have no meaning so I just went through that folder and ignored everything not linked from it.

Ideally people should rather use the data release instead of the branch directly. However, I've been very busy with other things and haven't made a release for a while :-/

I didn't even consider that, but that's on me. Maybe add a "Download" section to the readme explaining all the different ways to get the data. Because there's the files on the master branch, files on the data branch, releases, and now there's gonna be JSON files, too.

from yaml-test-suite.

perlpunk avatar perlpunk commented on May 26, 2024

Sorry, I have not forgotten about this, there were just so many other urgent issues...

from yaml-test-suite.

perlpunk avatar perlpunk commented on May 26, 2024

I think that it could be efficient to store one file per data point, containing all tests:
in-yaml.js, in-json.js, test-event.js, tags.js, ....

We will have more test cases in the future, but also more types of data points.

When running tests, you usually run one type of test on all test cases.

from yaml-test-suite.

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.