Skip to content

Fitnesse Test Report Data File Not Found. #19

@mylegfeelsfunny

Description

@mylegfeelsfunny

I have followed the instructions from the README and added the AcceptanceTests target as dependency to the AcceptanceUnitTests. Then added the AcceptanceUnitTests to the main targets build so that its unit tests are run last to prevent the Xcode 8 error.

But for all tests, it can't seem to locate the Fitnesse-Test-Report.xml while running.

2017-03-30 11:42:36.909 xctest[55495:2103957] [OCSP] ERROR: Could not read data : The file "Fitnesse-Test-Report.xml" couldn’t be opened because there is no such file: Check your 'OCSlimProject' Acceptance Test target is being built. 1) Try running 'pod update' to resolve this issue. 2) Manually run Acceptance Tests using '$ ./LaunchFitnesse' located at your projects root directory and investigate any issues.
Test Suite 'All tests' started at 2017-03-30 11:42:36.911
Test Suite 'AcceptanceUnitTests.xctest' started at 2017-03-30 11:42:36.912
Test Suite 'AcceptanceUnitTests.xctest' passed at 2017-03-30 11:42:36.913.
	 Executed 0 tests, with 0 failures (0 unexpected) in 0.000 (0.000) seconds
Test Suite 'OCSlimProjectTestBundleSupport.framework' started at 2017-03-30 11:42:36.913
Test Suite 'OCSPTestSuite' started at 2017-03-30 11:42:36.914
Test Case '-[OCSPTestSuite TestSuiteReportDataExists]' started.
/Users/****/Pods/OCSlimProjectTestBundleSupport/Pod/TestClasses/OCSPAssertRecorder.m:7: error: -[OCSPTestSuite TestSuiteReportDataExists] : failed - Fitnesse Test Report Data File Not Found. Check log files for possible [OCSP] warnings or errors.
Test Case '-[OCSPTestSuite TestSuiteReportDataExists]' failed (0.001 seconds).
Test Case '-[OCSPTestSuite tearDown]' started.
Test Case '-[OCSPTestSuite tearDown]' passed (0.000 seconds).
Test Suite 'OCSPTestSuite' failed at 2017-03-30 11:42:36.917.
	 Executed 2 tests, with 1 failure (0 unexpected) in 0.002 (0.003) seconds
Test Suite 'OCSlimProjectTestBundleSupport.framework' failed at 2017-03-30 11:42:36.917.
	 Executed 2 tests, with 1 failure (0 unexpected) in 0.002 (0.004) seconds
Test Suite 'All tests' failed at 2017-03-30 11:42:36.917.
	 Executed 2 tests, with 1 failure (0 unexpected) in 0.002 (0.006) seconds

The kicker is, I see the xml file in the AcceptanceUnitTests.test bundle.

ERROR: Could not read data : The file "Fitnesse-Test-Report.xml" couldn’t be opened because there is no such file: Check your 'OCSlimProject' Acceptance Test target is being built. 1) Try running 'pod update' to resolve this issue. 2) Manually run Acceptance Tests using '$ ./LaunchFitnesse' located at your projects root directory and investigate any issues.

Does not resolve anything, and the tests work when launched from the command line.

Is there a path I need to update so the Unit Tests can find it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions