Displaying 8 results from an estimated 8 matches for "htmlformatter".
2008 Jan 04
1
patch for html display
...ec/runner/formatter/text_mate_formatter.rb
(revision 906)
+++
/Users/timcharper/www/exchange/vendor/plugins/rspec/lib/spec/runner/formatter/text_mate_formatter.rb
(working copy)
@@ -6,8 +6,9 @@
# Formats backtraces so they''re clickable by TextMate
class TextMateFormatter < HtmlFormatter
def backtrace_line(line)
- line.gsub(/([^:]*\.rb):(\d*)/) do
- "<a
href=\"txmt://open?url=file://#{File.expand_path($1)}&line=#{$2}\">#{$1}:#{$2}</a>
"
+ line.gsub!(/^(On line #([0-9]+) of )(.+)$/) {
"app/views/#{$3}:#{$...
2008 May 07
4
Hiding the passes
How do you hide all the green passing examples from the output?
I don''t need to know what has passed and it means I have to scroll to
see what has failed.
--
Posted via http://www.ruby-forum.com/.
2007 Jul 26
3
Canonical way to generate RSpec HTML report in Rails app
Hi!
I was just wondering how you typically generate a spec HTML report in
a Rails app. Currently I''m doing something like this:
spec spec -f h:spec/spec_report.html
But that seems sort of clumsy and I would have thought that there was
a rake task for it. Have I overlooked something?
Thanks!
Peter
----------------------------
Peter Marklund
Garvar Lundins Gr?nd 7
11220 Stockholm
2019 Apr 23
2
SolrCore 'dovecot' is not available due to init failure: fieldType 'text_general' not found in the schema
Hello, it seems an mismatch of schema file provided by dovecot-2.3.5.2
[root at mail conf]# pwd
/var/solr/data/dovecot/conf
# Below solrconfig.xml is from Solr-8.0.0.
[root at mail conf]# grep text_general solrconfig.xml
<str name="queryAnalyzerFieldType">text_general</str>
field types. Text content will be indexed as "text_general" as
<str
2019 Apr 23
3
SolrCore 'dovecot' is not available due to init failure: fieldType 'text_general' not found in the schema
...gex.slop">0.5</float>
> <str name="hl.regex.pattern">[-\w ,/\n\"']{20,200}</str>
> </lst>
> </fragmenter>
> <formatter name="html" default="true"
> class="solr.highlight.HtmlFormatter">
> <lst name="defaults">
> <str name="hl.simple.pre"><![CDATA[<em>]]></str>
> <str name="hl.simple.post"><![CDATA[</em>]]></str>
> </lst>
> <...
2008 Mar 21
8
Pending Scenarios
Hi there,
newb q: The "pending" support for spec''s and steps is nice. I''m just
wondering why a scenario itself can''t be pending? I.e. it seems to me like
it would be nice to write up scenario titles for scenarios as you think of
them, and for low-priority fringe scenarios leave the steps unwritten until
it comes time to implement the scenario?
Is there a
2019 Apr 23
0
SolrCore 'dovecot' is not available due to init failure: fieldType 'text_general' not found in the schema
...lt;float name="hl.regex.slop">0.5</float>
<str name="hl.regex.pattern">[-\w ,/\n\"']{20,200}</str>
</lst>
</fragmenter>
<formatter name="html" default="true"
class="solr.highlight.HtmlFormatter">
<lst name="defaults">
<str name="hl.simple.pre"><![CDATA[<em>]]></str>
<str name="hl.simple.post"><![CDATA[</em>]]></str>
</lst>
</formatter>
<...
2005 Jul 16
14
Thoughts on Second-Tier Documentation
In the course of this argument, keep in mind that I think Rails is
making excellent progress in the development of documentation and
community. I am only trying to develop discussion of where we need to
go next.
A consistent theme we are seeing on this list, I believe, is frustration
caused by the lack of second-tier documentation. So far we have...
-- the various tutorials which are