Displaying 20 results from an estimated 3000 matches similar to: "a custom progress bar formatter"
2009 Feb 05
2
[Cucumber] Progress Bar
Inspired by Nick Evans'' RSpec progress bar[1], I had a little crack at
implementing the progress bar for cucumber, ''cause I want to know how
long a break I can take while the features are running :)
It''s in my fork, in the coverage_formatter branch:
http://github.com/mattwynne/cucumber/tree/master
It will dump failing feature, scenario, step and the exception as
2006 Mar 29
1
Fixing output_compression for Rails 1.1
With Rails 1.1 the output_compression[1] plugin was broken.
Once I upgraded to 1.1, I had to tweak it a bit to make it work.
Mainly it''s removing the code dealing with component requests, as
that''s part of rails now, and changing one function call.
Get the modified output_compression.rb file from
http://devblog.famundo.com/output_compression.rb and give it a try.
It''s
2008 Oct 18
4
Problems when programmatically defining examples
Hi,
I am trying to code an application that is based on Rspec; I am
programmatically building examples, and launching the runner with a custom
formatter. Here are the code snippets from my app:
Launching the runner:
example_groups =
test_expectation.example_groups_for(system_state)
@output = StringIO.new
options =
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
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
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
2010 Dec 02
1
Metadata about formatter being used accessible in spec?
Is it possible to read which formatter is being used? For instance if -
f d is used to output additional information or is there a better way
to do that?
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 --------------
2017 Jul 12
2
ThinLTO and the C API
Our ThinLTO testing was inoperative for a while, and now that it's running
again, we're seeing the linker step reporting "Expected a single module."
Note that our linker is using the C API to read bitcode.
It looks like the ThinLTO writer now emits two modules, but AFAICT most of
the APIs in BitcodeReader.cpp expect to see only one. Is this just an
oversight in supporting
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
2009 Mar 24
3
Submitting Patches for Facebook Connect
Hi
I am currently using facebooker to do some facebook connect. I found out
that these functions are currently missing from facebooker
connect.registerUsers
connect.unregisterUsers
I have modified user.rb and parser.rb to get these function going. I have
verified that it works and would love to contribute stuff back. However I
can''t figure out how to go about it. Any help would be
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
2012 Oct 17
1
Rcmd_environ and R_LIBS_{USER,SITE}
Is there a fundamental reason why I cannot set either one of
## add local library path -- doesn't work either
R_LIBS_USER="c:/opt/R-library"
R_LIBS_SITE="c:/opt/R-library"
in $R_HOME/etc/Rcmd_environ even though I can seemingly set other things here?
It breaks "R CMD check" for me as I prefer NOT to install packages in a
versioned path.
FWIW,
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:
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
2011 Apr 20
2
Cannot get progress bars to work w/ Apache Progress Module
I am following this screencast
http://railsillustrated.com/screencast-file-uploads-progress-in-rails-passenger.html
as well as comparing this against all the other rails Apache Progress Module
progress bar examples and I can''t figure out why I am always getting a 404
routing error:
ActionController::RoutingError (No route matches "/progress"):
I have a feeling that
2007 Apr 26
2
multiple users - auth'd source?
Hi,
I am trying to bring up an Icecast service for users of a free & paid
subscription system.
Paid users can source a stream. Free signups can listen (auth) to the
paid user's streams.
My user data is in LDAP mainly, but I have a URI that returns
"icecast-auth-user: 1" when passed the user= and pass= variables on the
HTTP GET.
AFAICT - the source password has to be
2008 Aug 16
1
ANCOVA: Next steps??
Having spent the last few weeks trying to decipher R, I feel I may finally be getting somewhere, but i'M still in need of some advice and all my tutors seem to be on holiday!
Basically a bit of background, I have data collected on a population of Lizards which includes age,sex, and body condition. I collected data myself this year and I have data previously collected from 1999, 2002 and
2007 May 31
28
Another attempt for a succinct model validation DSL
On 5/28/07, David Chelimsky <dchelimsky at gmail.com> wrote:
> The behaviour you''re trying to describe is that the User should
> require that passwords bear certain qualities - in this case a length
> between 5 and 40. So you need to ask yourself how the User should
> behave when this requirement is violated, and then specify that it
> behaves that way.
>
>
2002 Sep 09
3
loading data from a specified directory
System info:
Linux slackware
R Version 1.5.1 (2002-06-17)
ESS 5.1.21
Emacs 21.2.1
-------------------
Colleagues
I have some text files in a certain directory and want to process them
sequentially. So I want to pass the filename identifier into a function
and loop through the processing of each file in turn.I've called the
file identifier f in this code segment:
image.dvm <- function