Giter VIP home page Giter VIP logo

Comments (7)

kai-qu avatar kai-qu commented on May 7, 2024

@wodeni I've set up the testing infrastructure. See the main comment in this issue for more information. You're welcome to start writing tests for the parsers! I haven't written any for the Substance, Style, or Server modules yet, and indeed adding tests for them would be a very useful form of documentation.

from penrose.

kai-qu avatar kai-qu commented on May 7, 2024

@wodeni Also, regarding the revised parser, two of the examples here seem to be failing due to parser issues.

from penrose.

kai-qu avatar kai-qu commented on May 7, 2024

@wodeni Do you know if I can get the label sizes (and any other object info sent by snap) without running the server? As of now, in mainRetFinal, since the optimization doesn't interact with snap, the label sizes are zero, which makes the regression tests inconsistent with what shows up in the browser.

from penrose.

wodeni avatar wodeni commented on May 7, 2024

The label size is dependent on the font and font size used in client.js. Remember initially we assumed the letters to be monospaced but right now they are not due to the current font (palatino). Any chance to let the server run at least once?

from penrose.

kai-qu avatar kai-qu commented on May 7, 2024

I would be fine with running the server during the tests. Can we write a version of the server that terminates and returns a result (or several results, if we want to run multiple tests)?

from penrose.

wodeni avatar wodeni commented on May 7, 2024

I was trying to get Travis CI working with our repo and found that the tests now do not compile. The reason might be the changes in Substance module (?). In any case, there are some tests to could add to the test suite:

  • DSLL parsing
  • Substance Core language
  • Substance type checking
  • (future) Style type checking

from penrose.

wodeni avatar wodeni commented on May 7, 2024

Closing now that we have a working test suite in TS.

from penrose.

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.