Skip to content

Commit

Permalink
Add note about output capture
Browse files Browse the repository at this point in the history
  • Loading branch information
sj26 committed Mar 3, 2020
1 parent fedadd9 commit 3738c28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ RSpec.configure do |config|
end
```

Note that this example captures all output from every example all the time, potentially interfering with local debugging. You might like to restrict this to only on CI, or by using [rspec filters](https://relishapp.com/rspec/rspec-core/docs/hooks/filters).

## Caveats

* XML can only represent a [limited subset of characters][xml-charsets] which excludes null bytes and most control characters. This gem will use character entities where possible and fall back to replacing invalid characters with Ruby-like escape codes otherwise. For example, the null byte becomes `\0`.
Expand Down

0 comments on commit 3738c28

Please sign in to comment.