New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RDFLib: complete the terminal/combinator parsers for turtle grammar and have them all tested #14
Comments
Update: Have half of the rules tested in the test files. Will finish the rest rules and test cases today. |
Update: Have all the grammar rules tested, and refactored in the test folder. Check https://github.com/anusii/rdflib/tree/main/test/parser/single_grammar for more details. Have finished the two tasks in closing criteria. |
Thanks @tian3rd. How do I run the test suite? |
Hi @gjwgit you can test it with Or if you just want to test one single file, Right now, for quickly verifying the issues, I still use |
Found a way to test the code coverage for the tests (https://pub.dev/packages/test#collecting-code-coverage): ## Run Dart tests and output them at directory `./coverage`:
dart run test --coverage=./coverage
## Activate package `coverage` (if needed):
dart pub global activate coverage
## Format collected coverage to LCOV (only for directory "lib")
dart pub global run coverage:format_coverage --packages=.dart_tool/package_config.json --report-on=lib --lcov -o ./coverage/lcov.info -i ./coverage
## Generate LCOV report:
genhtml -o ./coverage/report ./coverage/lcov.info
## Open the HTML coverage report:
open ./coverage/report/index.html |
Since the Current coverage report: |
... so we can close this now? Thanks. |
Yes, it can be closed @gjwgit |
The next step is to integrate the parsers into the more flexible
GrammarDefinition
classes, and interpret them into triples, prefix namespaces, and finally save all the information in the Graph. Will create another issue for this next step.The text was updated successfully, but these errors were encountered: