question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Recover specific tests in v5

See original GitHub issue

Overview

In v5 branch we still have some tests fail because of the codebase changes. For every failing test we need update the test to match a new v5 behaviour (e.g. updating fixture). For some cases, it can be a bug in the codebase (ping @roll to check)

List of tests

The tests that need to be fixed that way is marked as:

@pytest.mark.xfail(reason="issue-1205")

We can use search to find them, for example - https://github.com/frictionlessdata/frictionless-py/blob/v5/tests/resource/test_convert.py#L92

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rollcommented, Jul 25, 2022

@shashigharti For metadata conversion tests consider assertions with parsed data instead of textual data e.g.:

@pytest.mark.xfail(reason="issue-1205")
def test_pipeline_to_yaml():
    pipeline = Pipeline.from_descriptor("data/pipeline.json")
    expected = "data/fixtures/convert/pipeline.yaml"  # also we can use one from data folder
    assert yaml.safe_load(pipeline.to_yaml()) == yaml.safe_load(expected)

Otherwise it might be too fragile

1reaction
rollcommented, Jul 24, 2022

Currently:

tests/package/test_convert.py
277:@pytest.mark.xfail(reason="issue-1205")
343:@pytest.mark.xfail(reason="issue-1205")

tests/resource/test_convert.py
92:@pytest.mark.xfail(reason="issue-1205")

tests/resource/analyze/test_general.py
165:@pytest.mark.xfail(reason="issue-1205")
183:@pytest.mark.xfail(reason="issue-1205")
203:@pytest.mark.xfail(reason="issue-1205")

tests/pipeline/test_convert.py
24:@pytest.mark.xfail(reason="issue-1205")
46:@pytest.mark.xfail(reason="issue-1205")
Read more comments on GitHub >

github_iconTop Results From Across the Web

Recover My Files v5.2.1 - Homeland Security
Test Results for Digital Data File Carving Tool. Tool Tested: Recover My Files (RMF). Software Version: v5.2.1. Supplier: GetData. Address:.
Read more >
Drive Recovery with Recover My Files v5 - YouTube
Learn how to recovery a formatted, RAW or unallocated hard drive using Recover My Files v5 data recovery software.
Read more >
How to recover an accidentally deleted test cases under Test ...
Navigate to <Test Case Execution> module. Select the deleted node under particular phase. Export the test case executions to excel. Re-import the same...
Read more >
In The News - CGSecurity
PhotoRec was the only program tested that was able to identify AND recover files from the corrupt hide drive we tested it with....
Read more >
Stress Free Recovery with VDRO v5 - Veeam
Should you need to recover, you're just 1-click away from a fully automated and documented recovery that you know will execute successfully.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found