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

Summary not showing test case where assertion failed. #464

Open
MichaelHuth opened this issue Jan 11, 2024 · 0 comments
Open

Summary not showing test case where assertion failed. #464

MichaelHuth opened this issue Jan 11, 2024 · 0 comments
Labels
Milestone

Comments

@MichaelHuth
Copy link
Member

Scenario: A test case uses reentry feature and while waiting for the reentry a background function calls assertions. The assumption that the test case can be determined from the stack trace is wrong, that shows in the first four assertions of the summary, where from the summary output the causing test case is unknown.

...
Leaving test case "AnalysisFunctionTesting#AFT7:SUTTER"
  Failed with 11 errors
  Leaving test suite "UTF_AnalysisFunctionManagement.ipf"
  Test finished with 11 errors
    ▶ Assertion "CHECK_GE_VAR(s.lastKnownRowIndexAD, 0)" failed in DQM_FIFOMonitor➔ValidFunc_V3 (UserAnalysisFunctions.ipf, line 144412)
    ▶ Assertion "CHECK_GE_VAR(s.lastKnownRowIndexDA, 0)" failed in DQM_FIFOMonitor➔ValidFunc_V3 (UserAnalysisFunctions.ipf, line 144416)
    ▶ Assertion "CHECK_GE_VAR(s.lastKnownRowIndexAD, 0)" failed in DQM_FIFOMonitor➔ValidFunc_V3 (UserAnalysisFunctions.ipf, line 144412)
    ▶ Assertion "CHECK_GE_VAR(s.lastKnownRowIndexDA, 0)" failed in DQM_FIFOMonitor➔ValidFunc_V3 (UserAnalysisFunctions.ipf, line 144416)
    ▶ Assertion "CHECK_EQUAL_VAR(NumberByKey("LOCK", WaveInfo(DAQDataWave, 0)), 1)" failed in AnalysisFunctionTesting#AFT7➔ValidMultHS_V1 (UserAnalysisFunctions.ipf, line 897137)
    ▶ Assertion "CHECK_EQUAL_VAR(NumberByKey("LOCK", WaveInfo(DAQDataWave, 0)), 1)" failed in AnalysisFunctionTesting#AFT7➔ValidMultHS_V1 (UserAnalysisFunctions.ipf, line 897137)
    ▶ Assertion "CHECK_EQUAL_VAR(NumberByKey("LOCK", WaveInfo(DAQDataWave, 0)), 1)" failed in AnalysisFunctionTesting#AFT7➔ValidMultHS_V1 (UserAnalysisFunctions.ipf, line 897137)
    ▶ Assertion "CHECK_EQUAL_VAR(NumberByKey("LOCK", WaveInfo(DAQDataWave, 0)), 1)" failed in AnalysisFunctionTesting#AFT7➔ValidMultHS_V1 (UserAnalysisFunctions.ipf, line 897137)
    ▶ Assertion "CHECK_EQUAL_VAR(NumberByKey("LOCK", WaveInfo(DAQDataWave, 0)), 1)" failed in AnalysisFunctionTesting#AFT7➔ValidMultHS_V1 (UserAnalysisFunctions.ipf, line 897137)
    ▶ Assertion "CHECK_EQUAL_VAR(NumberByKey("LOCK", WaveInfo(DAQDataWave, 0)), 1)" failed in AnalysisFunctionTesting#AFT7➔ValidMultHS_V1 (UserAnalysisFunctions.ipf, line 897137)
    ▶ Assertion "FAIL()" failed in AnalysisFunctionTesting#AFT7➔AcquireData_NG (UTF_HardwareHelperFunctions.ipf, line 8971576)
  End of test "MIES with HardwareBasic-SUTTER"
@MichaelHuth MichaelHuth changed the title Summar not showing test case where assertion failed. Summary not showing test case where assertion failed. Mar 23, 2024
@t-b t-b added this to the Version 1.11 milestone Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants