search for: spec_ui

Displaying 11 results from an estimated 11 matches for "spec_ui".

Did you mean: spec_go
2007 Jan 12
2
spec_ui problems
While looking into spec_ui, I decided to run the examples. The watir example works a little, but always chokes on the ''better than fudge'' spec (failure output below). Also, is there any command to pause the "browser"? If my connection slows, the test gets out of whack. The selenium examp...
2007 Apr 11
5
Default exclude pattern in 0.9.0
The "rspec" rake task collects all _spec files in the spec directory, and excludes the "watir" directory. Is this indicating a preference for using Watir over Selenium? I would like it better to standardize on something more neutral, ''ui'' perhaps? /Marcus -- Marcus Ahnve http://marcus.ahnve.net
2007 Jul 26
5
Coding standards and whitespace
..."$FILE"; then echo "CR detected in : $FILE" else echo "ok : $FILE" fi done All text files used UNIX line endings (LF) with the exception of these four, which used Windows line endings (CRLF): doc/src/default.css rspec/bin/spec_translator spec_ui/examples/selenium/README.txt spec_ui/History.txt I did a similar Bash thing to find out which files had tabs in them; many of them appear to consistently use tabs for indentation but some do not, using a mixture of tabs and spaces. doc/src/breadcrumbs.css doc/src/default.css doc/src/default.t...
2007 May 19
1
RSpec 1.0.0 and a couple of other things
...en source. Now that there is a commitment to a stable API I think we''ll see RSpec really take off. Two quick things... In the absence of official Spec::UI docs, can Spec::UI be installed as a Rails plug-in? eg. script/plugin install svn://rubyforge.org/var/svn/rspec/tags/ REL_1_0_0/spec_ui Or is installing via RubyGems as per Aslak''s post (<http:// rubyforge.org/pipermail/rspec-users/2007-May/001541.html>) the only "supported" way? And a quick bug report (can''t login to RubyForge due to transparent proxy issues): The README.txt file that come...
2007 Apr 13
1
HTML report and Spec::Ui improvements
...alled the code will also be syntax highlighted 8-D There has also been some major improvements to Spec::Ui, and it should be much easier to set up than before. Spec::Ui lets you run selenium and Watir/SafariWatir from RSpec and get screenshots in the HTML report. Check out the examples under trunk/spec_ui/examples. Enjoy! Aslak
2007 May 10
1
RSpec 0.9.4
...browser - and its HTML source - straight into the report. And it all gets embedded into one single HTML file. Spec::Ui is not documented on the website yet (there are some READMEs and examples in the source though). But here is the gist of it: == Install == gem install rspec -r 0.9.4 gem install spec_ui -r 0.2.0 === Windows users - if you want screenshots === gem install win32screenshot Install RMagick (special install procedure) == Configure == === Rakefile === require ''spec/rake/spectask'' desc "Run UI Specs" Spec::Rake::SpecTask.new(''spec:ui'') do...
2007 Sep 22
1
Cannot build trunk
...quot; This doesn''t work in trunk, so I cd into trunk/rspec and execute rake gem. This fails with: dwright at hendrix:~/trunk/rspec$ rake gem (in /home/dwright/trunk/rspec) mkdir pkg rm -rf pkg/rspec_on_rails mkdir pkg rm -rf pkg/RSpec.tmbundle rake aborted! No such file or directory - ../spec_ui /home/dwright/trunk/rspec/Rakefile:227:in `chdir'' (See full trace by running task with --trace) On windows (vista), I can''t seem to successfully check out the project. When I execute: svn co svn://rubyforge.org/var/svn/rspec/trunk I get the following error part-way through the...
2007 Apr 13
0
ANN 0.9-beta-2
...ve just made a new beta release available that fixes some more bugs to the translator. http://www.nabble.com/ANN:-RSpec-0.9.0-beta-1-available-for-download.-t3526973.html Additional changes since 0.9 beta-1: * Made Spec::Ui *much* easier to install. It will be released separately. Check out trunk/spec_ui/examples * HTML reports now include a syntax highlighted snippet of the source code where the spec failed (needs the syntax gem) * Added [#9735] support flexmock (thanks to Jim Weirich for his modifications to flexmock to support this) * Spec::Rails controller specs will no longer let mock exceptio...
2007 Jul 31
11
helper spec not finding rails core helpers
Hi, My helper specs were going ok until I added a call to a rails DateHelper method in one of my helpers http://api.rubyonrails.com/classes/ActionView/Helpers/ DateHelper.html#M000574 The helper runs fine from my view templates, just dies in the spec test. I boiled my question down to a simple (not too useful) example. I''m not sure what I''m missing. #
2007 May 09
4
UI testing framework? (w/o selenium)
Hey all, I am currently working on coming up w/ an easy to use, developer-centric web testing framework to test a J2EE app with. (I have 3 rails apps in production, love rspec, and am currently at a java shop). I''ve looked at selenium, and it just doesn''t seem like it is ready for prime time, and the target audience is developers. So, having said that, does the rspec
2007 Jul 29
24
View-Driven-Development by Behavior-Driven-Development and RSpec
One of the things that turned me on to BDD and RSpec was speccing views first, that the desired end would drive the development. In previous projects while using Test::Unit I would try to make educated guesses as to what would be needed in the model and controllers to derive the view without actually writing the view until afterwards. This is all because testing relied on each previous