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

Merged Tag v0.3.0 (from xcpretty/xcpretty) and branch fix/duration_of_failed_tests_workaroundinto into repository #1

Open
wants to merge 73 commits into
base: master
Choose a base branch
from

Conversation

ObjectAlchemist
Copy link

This should fix Idean/sonar-swift#159

jaredgrubb and others added 30 commits December 13, 2015 12:59
The Sonar JUnit parser fails if the time attribute is not present on
failed tests. This patch adds the time attribute for these tests with a
fixed duration of "0".

Adding the real test duration was considered however it cannot be
done easily with the current xcpretty implementation:  xcpretty parses
Xcode output line by line whereas a failed test outputs at least 2 lines
of log: one that shows the failed test and the cause, another that
displays the duration (quite the same line as a passing test).
A considered approach would be to keep a context and output a
transformed log line only if the context is full (in the case of failed
tests, only if the cause and the duration have been parsed).
Formatter.finish: give formatters the ability to know the end
README: Fix the path of the json compilation database
Projects may decide to use their own compiler toolchain for building,
in which case the path to the clang executable will likely not contain
the /usr prefix. This commit thus removes that prefix from the
corresponding matcher.
…ze mode (xcpretty#182)

Was producing cruft of bad output for our console logs on our build machines.
…cpretty#224)

* Fixed issue where the wrong syntax formatter was being used for HTML

* Removed redundant self
Marin Usalj and others added 28 commits October 10, 2016 23:45
turns out we need it for gem release...
Add support for custom compiler toolchains
Add matcher for 'No profile matching 'TargetName' found:' dependency error
* Parse screenshot name to better match against suite name

* fix potential crash on empty array

* remove whitespace

* Fix whitespace again

* Fix all whitespace ever
* Parse screenshot name to better match against suite name

* fix potential crash on empty array

* remove whitespace

* Fix whitespace again

* Fix all whitespace ever

* Improve screenshot matching against Test Suites with namespaces
* Improve Code sign error checking

* Optimize parser by reducing the number of separate regular expressions

* Add Swift errors in Check dependencies phase
* Display screenshots next to tests

* Tidy report output

* Fix report output hiding tests

* Fix failing test

* Add support for screenshots containing suite name

* Fix failing test - had to shorten filename of screenshot

* Fix rubocop issue
* Add a failing feature showing the issue

* Add a matcher to mark test as failed when xcodebuild restarts testing.
* Add catch-all formatter

* Fix linter warning

* Add test for format_other
@ObjectAlchemist
Copy link
Author

@ObjectAlchemist ObjectAlchemist changed the title Merged Tag v0.3.0 (from xcpretty/xcpretty) into repository Merged Tag v0.3.0 (from xcpretty/xcpretty) and branch fix/duration_of_failed_tests_workaroundinto into repository Apr 20, 2020
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

Successfully merging this pull request may close these issues.

Conflicting xcpretty version when using Fastlane