Skip to content
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

Test failure #4

Closed
orhun opened this issue May 22, 2024 · 3 comments
Closed

Test failure #4

orhun opened this issue May 22, 2024 · 3 comments
Assignees

Comments

@orhun
Copy link
Contributor

orhun commented May 22, 2024

Hey!

I got the following test failure while trying to package get_blessed_rs for the AUR:

running 1 test
test content_parser::test::general_table_has_expected_data ... FAILED

failures:

---- content_parser::test::general_table_has_expected_data stdout ----
thread 'content_parser::test::general_table_has_expected_data' panicked at src/content_parser.rs:14:9:
not yet implemented
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    content_parser::test::general_table_has_expected_data

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

error: test failed, to rerun pass `--bin get-blessed`

I realized it is just an empty test with a todo!() - it might be a good idea to remove it or add #[ignore] until it is functional.

@josueBarretogit
Copy link
Owner

Hi yes at the moment there is no test I don´t know how to do proper tests

@orhun
Copy link
Contributor Author

orhun commented May 22, 2024

I took a look at the codebase, maybe you can create a new ContentParser, fetch the contents and assert the result there. But I'm not too sure.

@josueBarretogit josueBarretogit self-assigned this May 25, 2024
@josueBarretogit
Copy link
Owner

Closed #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants