Displaying 20 results from an estimated 10000 matches similar to: "Metadata about formatter being used accessible in spec?"
2011 Oct 18
3
Database custom formatter
I am trying to write a custom formatter to update a database record based on
example results. Having a lot of trouble, so I thought to ask if anyone has
a custom formatter that writes results to a database or outputs results in
JSON or some other programmatic format. A working example will go a long way
in helping me work thru my own use case.
Thanks
-------------- next part --------------
An
2007 Mar 19
4
spec.opts: questions about formatters, etc.
Questions concerning spec.opts:
1. Am I correct in believing that each option should go on a
separate line of spec.opts in the rails spec directory? If this is
so, why is it so?
2. Using a formatter in spec.opts doesn''t seem to work. Here is my
spec.opts file:
--colour
-f s
and this is what happens when I run the rake task:
Couldn''t find formatter class s
Make
2009 Feb 13
2
[cucumber][v0.2alpha]Where could I find API docs for custom formatters?
Hi,
I''m working on update my local Cucumber to the latest version. But it seems
the old formatter APIs(step_failed, scenario_executed, etc.) don''t work any
more. Are there some documents or even Cucumber source code I can refer to?
Thanks in advance,
Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 Jun 12
4
after :each invoked before formatter?
Hello.
I''m using RSpec with Watir to do some automated tests on IE.
I''ve ran into problem, where I want to make a screenshot of a browser window
when example fails. For that I made custom formatter where in
extra_failure_content i''m invoking screenshot taking methods. Now,
everything works like a charm, as long as I''m not using after :each. I
remember that I
2006 Feb 15
1
need a R-code formatter?
Hi all,
I am using Tin-R as my editor; I use it because it allows me to send several
selected lines to R-console and execute them...
In some sense, this is my line-by-line debugger.
But it doesn't have a code formatter, I have to layout the indention myself
-- when there are many { } blocks with different layers, this editor does
not help me beautify the code...
I am looking for some
2016 Dec 20
1
GDB pretty printers for LLVM ADTs
> On Dec 20, 2016, at 9:55 AM, David Blaikie via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Dandy :)
>
> I looked into ways to do this for the GDB visualizers - but was unable to come up with a totally automated solution, unfortunately.
I've wanted the same. Best I could think of was to embed them (or a reference to them) in the binary for the debugger to look at.
2011 Jan 26
2
changes in rspec 2.4 break ci_reporter
Hi
I use the ci_reporter gem for builds on my CI machine (hudson).
Prior to rspec 2.4, environment options would override commandline
options. So the gem used this to change the formatter and require its
files.
In 2.4, that order has been reversed.
the thing is 2.4 supports multiple formatters, so there is another suggestion.
RSpec::Core::ConfigurationOptions
def parse_options
2008 Dec 09
3
a custom progress bar formatter
I''ve always been a little bit bemused by the default ruby test/unit and
rspec output. Basically, what I want is a progress bar and that any
errors and warnings be displayed immediately. I also want warnings to be
printed for slow specs. When using color, I want the entire progress bar
printed in green if everything is good, yellow if there has been a
warning, and red if there has been an
2019 May 04
4
[PATCH] configure.ac: Add mandoc as valid formatter
Hi,
On systems that have mandoc installed but are missing an nroff binary,
the configure script will fall back to pre-formatted manual pages
despite the fact that mandoc could be used.
The proposed patch adds mandoc as a valid formatter to configure.ac. As
mandoc supports the -mdoc flag, it can simply be added to the list of
nroff-like binaries.
Wolfgang
-------------- next part --------------
2007 Dec 09
1
Story HTML Formatter
I recently noticed the HTML formatter for the story runner, but I''m
unable to figure out how to make it function.
''ruby stories/all.rb --format html'' seems like it should work, in that
--help works as expected, but I still get only plain text output.
Maybe it''s not been wired up yet and/or this is a bug. Maybe I''m just
being dumb. I have no clue at
2008 Jan 13
3
How to trace running spec
Hey all,
I have a spec that is hanging when it is running.
How do I get the rspec runner to show what specs it''s running so I can
which one is hanging? I am calling the runner from my rails project.
Thanks,
Ben
2007 Sep 09
11
Going beyond the default html formatter/report?
Hi!
I wonder does anybody planning to go beyond the default html formatter/report?
The current html report is nice and green but what about to go a
little silly and enable also user input. For example to let customer
to add a new pending spec, comments etc. I feel it might be mentally
easier for some customers to jump into spec world when it is possible
to give input at "the same
2015 Mar 19
3
Patch for "doveadm -f table" nit (was Re: Dovecot current number of connections being used.)
On 03/18/2015 08:49 PM, Timo Sirainen wrote:
> There's no reason why flow and pager should write headers to stderr because it would always result only in a mess. But instead of changing table headers to write to stdout, I think a better fix would be to make tab formatter write headers to stderr. Including headers in stdout makes it more difficult to write scripts that access the actual
2006 Oct 21
2
Usage Error
rake spec seems to work fine, but I keep getting a usage error at the
end of the spec run:
/usr/local/bin/ruby -I"/usr/local/lib/ruby/gems/1.8/gems/rspec-0.6.4/
lib" "/usr/local/lib/ruby/gems/1.8/gems/rspec-0.6.4/bin/spec"
Usage: spec [options] (FILE|DIRECTORY|GLOB)+
--diff Show unified diff of Strings
that are expected to be equal when
2016 Oct 12
2
RFC: General purpose type-safe formatting library
On Tue, Oct 11, 2016 at 8:59 PM Mehdi Amini <mehdi.amini at apple.com> wrote:
> Hi,
>
> I On Oct 11, 2016, at 6:22 PM, Zachary Turner via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>
> A while back llvm::format() was introduced that made it possible to
> combine printf-style formatting with llvm streams. However, this still
> comes with all the risks
2016 Dec 20
0
GDB pretty printers for LLVM ADTs
Added something in r290186.
Say, Reid - do you know anything about the MSVC formatters that are also
provided in LLVM? Perhaps you could add a brief bit of documentation about
them, if they need an explicit wiring up (if they just come for
free/automatically - might not be worth documenting, people will find it
when they need it) or point this thread to someone who knows about them to
provide
2016 Dec 20
2
GDB pretty printers for LLVM ADTs
The VC visualizers are automatcially installed.
2016-12-20 19:45 GMT+02:00 David Blaikie via llvm-dev <
llvm-dev at lists.llvm.org>:
> Added something in r290186.
>
> Say, Reid - do you know anything about the MSVC formatters that are also
> provided in LLVM? Perhaps you could add a brief bit of documentation about
> them, if they need an explicit wiring up (if they just
2016 Dec 20
0
GDB pretty printers for LLVM ADTs
Dandy :)
I looked into ways to do this for the GDB visualizers - but was unable to
come up with a totally automated solution, unfortunately.
On Tue, Dec 20, 2016 at 9:51 AM Yaron Keren <yaron.keren at gmail.com> wrote:
> The VC visualizers are automatcially installed.
>
>
> 2016-12-20 19:45 GMT+02:00 David Blaikie via llvm-dev <
> llvm-dev at lists.llvm.org>:
>
2008 Dec 01
1
Undefined method "full_description" when trying to run "rake spec"
Hello guys,
I''m getting this weird error when trying to run the specs using "rake spec":
/home/mauricio/NetBeansProjects/talkies/vendor/rails/actionpack/lib/action_controller/test_process.rb:471:in
`method_missing'': undefined method `full_description'' for
#<Spec::Rails::Example::ControllerExampleGroup::Subclass_73::Subclass_9:0x7f5fdca4a810>
2013 Dec 02
0
doveadm table formatter: hidden titles may cause misaligned headers
Hello,
I recently noticed a small bug in the doveadm table formatter: hidden titles may cause the headers to be misaligned.
The behavior in question was introduced by commit <http://hg.dovecot.org/dovecot-2.2/rev/210282ae46e1> and
doveadm -f table quota get -A
may be used to reproduce it.
Most simple patch attached: it simply restores the old behavior, to some extent.
Actually hiding