GithubHelp home page GithubHelp logo

Fix failing tests about arc2 HOT 4 CLOSED

k00ni avatar k00ni commented on May 27, 2024
Fix failing tests

from arc2.

Comments (4)

cbinding avatar cbinding commented on May 27, 2024

Hi Konrad, thanks for following up - looking at one example https://github.com/semsol/arc2/blob/master/tests/db_adapter_depended/store/ARC2_StoreTest.php test 'testMultipleInsertQuerysInDifferentGraphs' which is currently failing - the assertion in the test itself appears to be incorrect. It inserts 1 triple into graph1 and 2 triples into graph2 but then asserts there should now be 1 triple in each graph - this test will always fail.

from arc2.

cbinding avatar cbinding commented on May 27, 2024

Looking at the next failing test https://github.com/semsol/arc2/blob/master/tests/db_adapter_depended/store/query/LoadQueryTest.php 'testLoad' - it is trying to load a file which is not present at the location given - the path https://raw.githubusercontent.com/semsol/arc2/master/tests/sparql11/w3c-tests/move/manifest.ttl returns 404 not found - so again this test will always fail as it cannot load this data. I think the 'correct' path should be https://raw.githubusercontent.com/semsol/arc2/master/tests/data/turtle/manifest.ttl
The tests are incorrect, that is why they are failing.

from arc2.

cbinding avatar cbinding commented on May 27, 2024

The 3rd (out of 3) failing test is just a variation on the 2nd, as it is attempting to load the same incorrect test data file path

from arc2.

k00ni avatar k00ni commented on May 27, 2024

Further discussion in related PR #126.

from arc2.

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.