I'm trying to debug a unit test but the test result output is missing a lot of content if I call print() instead of using #expect(). I am trying to print a single string with the data that I want to see with line breaks separating the different content (the single string is about 5850 characters).
I couldn't find an issue on the vscode-swift or swift-testing repos relating to this.
Am I holding it wrong or is this an issue I should open?
Setup details
Swift
Swift version 6.0.3 (swift-6.0.3-RELEASE)
Target: x86_64-unknown-linux-gnu
Yes, using VS Code and the green check mark button for the unit test (not the suite). Looks like the problem isn't there if I execute swift test from a terminal.
@RandomHashTags Do you have a minimal repro case? I tried adding prints() in my swift-testing tests and saw the output, though granted it isn't always in the order we'd like due to the way we're mixing the terminal output with the events we get from swift-testing.