{"action":"created","issue":{"url":"https://api.github.com/repos/rspec/rspec-core/issues/2536","repository_url":"https://api.github.com/repos/rspec/rspec-core","labels_url":"https://api.github.com/repos/rspec/rspec-core/issues/2536/labels{/name}","comments_url":"https://api.github.com/repos/rspec/rspec-core/issues/2536/comments","events_url":"https://api.github.com/repos/rspec/rspec-core/issues/2536/events","html_url":"https://github.com/rspec/rspec-core/issues/2536","id":313457519,"number":2536,"title":"Make output files / lines as links","user":{"login":"alextakitani","id":105376,"avatar_url":"https://avatars0.githubusercontent.com/u/105376?v=4","gravatar_id":"","url":"https://api.github.com/users/alextakitani","html_url":"https://github.com/alextakitani","followers_url":"https://api.github.com/users/alextakitani/followers","following_url":"https://api.github.com/users/alextakitani/following{/other_user}","gists_url":"https://api.github.com/users/alextakitani/gists{/gist_id}","starred_url":"https://api.github.com/users/alextakitani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alextakitani/subscriptions","organizations_url":"https://api.github.com/users/alextakitani/orgs","repos_url":"https://api.github.com/users/alextakitani/repos","events_url":"https://api.github.com/users/alextakitani/events{/privacy}","received_events_url":"https://api.github.com/users/alextakitani/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-11T19:31:15Z","updated_at":"2018-04-11T19:44:36Z","closed_at":"2018-04-11T19:44:36Z","author_association":"NONE","body":"I repeatedly need to open a failed example on my editor, to fix it. \r\n\r\nSo, I want to change the output on console to have link to a file and line on the editor. \r\n\r\nBetter Errors gem has this option here:\r\n\r\nhttps://github.com/charliesome/better_errors/wiki/Link-to-your-editor\r\n\r\nThis is an example of a failure:\r\n\r\n7) Sign in user can sign in with valid credentials\r\n     Failure/Error: visit new_user_session_path\r\n     \r\n     NameError:\r\n       undefined local variable or method `new_user_session_path' for #<RSpec::ExampleGroups::SignIn:0x000000000b8fe8b8>\r\n       Did you mean?  new_admin_user_session_path\r\n                      admin_user_session_path\r\n     # ./spec/support/helpers/session_helpers.rb:12:in `signin'\r\n     # ./spec/features/users/sign_in_spec.rb:23:in `block (2 levels) in <top (required)>'\r\n\r\nCan someone please point me to what I should customize to have this functionality ? "},"comment":{"url":"https://api.github.com/repos/rspec/rspec-core/issues/comments/380573025","html_url":"https://github.com/rspec/rspec-core/issues/2536#issuecomment-380573025","issue_url":"https://api.github.com/repos/rspec/rspec-core/issues/2536","id":380573025,"user":{"login":"xaviershay","id":1714,"avatar_url":"https://avatars0.githubusercontent.com/u/1714?v=4","gravatar_id":"","url":"https://api.github.com/users/xaviershay","html_url":"https://github.com/xaviershay","followers_url":"https://api.github.com/users/xaviershay/followers","following_url":"https://api.github.com/users/xaviershay/following{/other_user}","gists_url":"https://api.github.com/users/xaviershay/gists{/gist_id}","starred_url":"https://api.github.com/users/xaviershay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xaviershay/subscriptions","organizations_url":"https://api.github.com/users/xaviershay/orgs","repos_url":"https://api.github.com/users/xaviershay/repos","events_url":"https://api.github.com/users/xaviershay/events{/privacy}","received_events_url":"https://api.github.com/users/xaviershay/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T19:44:36Z","updated_at":"2018-04-11T19:44:36Z","author_association":"OWNER","body":"Take a look at [Custom Formatters](https://relishapp.com/rspec/rspec-core/docs/formatters/custom-formatters)\r\n\r\n> The simplest way is to subclass RSpec's BaseTextFormatter, and then override just the methods that you want to modify.\r\n\r\nFrom a quick scan, https://ieftimov.com/how-to-write-rspec-formatters-from-scratch looks like a pretty decent tutorial.\r\n\r\nGood luck!"}}
{"actor":{"display_login":"xaviershay"}}