browsercuke 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/History.txt +5 -0
  2. data/README.md +46 -13
  3. data/Rakefile +5 -2
  4. data/lib/browsercuke.rb +2 -2
  5. metadata +2 -22
@@ -1,3 +1,8 @@
1
+ === 0.1.4 / 2010-01-08
2
+
3
+ * Removed OSX-specific dependencies, instead requiring the user to install these manually.
4
+ * Updated installation instructions, particularly those for Windows.
5
+
1
6
  === 0.1.3 / 2010-01-07
2
7
 
3
8
  * Changing copyright notice
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  http://github.com/sminnee/browsercuke
4
4
 
5
- ## DESCRIPTION:
5
+ ## DESCRIPTION
6
6
 
7
7
  BrowserCuke is a layer of browser-based testing on top of Cucumber. It provides an intuitive way of
8
8
  writing business-readable tests for your web applications, that use real web browsers to test. Your
@@ -37,20 +37,53 @@ Roadmap:
37
37
  * Add tests for colour and image changes
38
38
  * Get the FireWatir and SafariWatir monkey patches submitted to those upstream projects.
39
39
 
40
- ## INSTALL:
40
+ ## INSTALL
41
41
 
42
- BrowserCuke is packaged as a gem, so the easiest way of installing BrowserCuke is by running this
43
- command:
42
+ BrowserCuke is packaged as a Ruby gem. There are also a few platform-specific steps that you need
43
+ to perform. Platform-specific installation instructions are as follows.
44
44
 
45
- $ gem install browsercuke
45
+ ### Windows
46
46
 
47
- You will also need to make some changes on your system to get the browser
47
+ On Windows, we recommend that you use Ruby 1.8.6 and not a more recent version. If you use a
48
+ different version of Ruby, you will also need to install build tools to compile native extensions.
48
49
 
49
- * Safari: Go to System Prefences -> Universal Access and check the box labelled 'Enable access for assistive devices'
50
- * Firefox: Install the JSSH extension. You can download it here:
51
- * [OS X + FF 3.5](http://wiki.openqa.org/download/attachments/13893658/jssh-3.5.x-Darwin-param.xpi)
50
+ [You can download the one-click installer here](http://rubyforge.org/frs/download.php/29263/ruby186-26.exe)
52
51
 
53
- ## SYNOPSIS:
52
+ You will then need to update RubyGems. [Download from here](http://gemcutter-production.s3.amazonaws.com/rubygems/rubygems-1.3.5.zip), extract, and run
53
+ this command from a command-line prompt within the rubygems-1.3.5 directory that it contains:
54
+
55
+ $ ruby setup.rb
56
+
57
+ Now, run this command:
58
+
59
+ $ gem install browsercuke watir
60
+
61
+ Finally, install the Firefox extension, JSSH. You can download it here:
62
+
63
+ * [Firefox 2.0/Win](http://wiki.openqa.org/download/attachments/13893658/jssh-WINNT-2.x.xpi)
64
+ * [Firefox 3.0/Win](http://wiki.openqa.org/download/attachments/13893658/jssh-20080708-WINNT.xpi)
65
+ * [Firefox 3.5/Win](http://wiki.openqa.org/download/attachments/13893658/jssh-3.5.x-WINNT.xpi)
66
+
67
+ You are now set up to run browsercuke tests on IE and Firefox.
68
+
69
+ ### OS X
70
+
71
+ If you have Leopard or Snow Leopard, then you should have Ruby all set up. Open Terminal and
72
+ run this command:
73
+
74
+ $ gem install browsercuke safariwatir rb-appscript
75
+
76
+ Go to System Prefences -> Universal Access and check the box labelled 'Enable access for assistive devices'.
77
+
78
+ Finally, install the Firefox extension, JSSH. You can download it here:
79
+
80
+ * [Firefox 2.0/OS X](http://wiki.openqa.org/download/attachments/13893658/jssh-darwin-0.94.xpi?version=1)
81
+ * [Firefox 3.0/OS X](http://wiki.openqa.org/download/attachments/13893658/jssh-20080924-Darwin.xpi)
82
+ * [Firefox 3.5/OS X](ttp://wiki.openqa.org/download/attachments/13893658/jssh-3.5.x-Darwin-param.xpi)
83
+
84
+ You are now set up to run browsercuke tests on Safari an Firefox.
85
+
86
+ ## SYNOPSIS
54
87
 
55
88
  Now it's time to create your first test. As an example, we will test Google's search. Create a
56
89
  file called `google-search.feature` and put this content into it.
@@ -209,7 +242,7 @@ Misc
209
242
 
210
243
  ### I put "(text)" in pop-ups
211
244
 
212
- ## REQUIREMENTS:
245
+ ## REQUIREMENTS
213
246
 
214
247
  Currently browsercuke works with the following browsers.
215
248
 
@@ -218,7 +251,7 @@ Currently browsercuke works with the following browsers.
218
251
 
219
252
  It has been tested on OS X only; Windows and IE support coming soon!
220
253
 
221
- ## DEVELOPERS:
254
+ ## DEVELOPERS
222
255
 
223
256
  After checking out the source, run:
224
257
 
@@ -242,7 +275,7 @@ To create a new release of the gem, to the following:
242
275
 
243
276
  rake publish
244
277
 
245
- ## LICENSE:
278
+ ## LICENSE
246
279
 
247
280
  Browsercuke is licensed under the BSD license
248
281
 
data/Rakefile CHANGED
@@ -10,6 +10,9 @@ Hoe.spec 'browsercuke' do
10
10
 
11
11
  extra_deps << ['cucumber', '>= 0.4.4']
12
12
  extra_deps << ['firewatir', '>= 1.6.5']
13
- extra_deps << ['safariwatir', '>= 0.3.7']
14
- extra_deps << ['rb-appscript', '>= 0.5.3']
13
+
14
+ # We don't include these dependencies because they are OSX only. If these are included, then you
15
+ # can't install the Gem on Windows. Creating a browsercuke-osx gem might be a solution.
16
+ # extra_deps << ['safariwatir', '>= 0.3.7']
17
+ # extra_deps << ['rb-appscript', '>= 0.5.3']
15
18
  end
@@ -2,6 +2,6 @@
2
2
  # In time, the non-Watir ruby code that the step definitions make use of can be moved into this.
3
3
  module BrowserCuke
4
4
  class BrowserCuke
5
- VERSION = "0.1.3"
5
+ VERSION = "0.1.4"
6
6
  end
7
- end
7
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: browsercuke
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Sam Minn\xC3\xA9e"
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-07 00:00:00 +13:00
12
+ date: 2010-01-08 00:00:00 +13:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -32,26 +32,6 @@ dependencies:
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.6.5
34
34
  version:
35
- - !ruby/object:Gem::Dependency
36
- name: safariwatir
37
- type: :runtime
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- version: 0.3.7
44
- version:
45
- - !ruby/object:Gem::Dependency
46
- name: rb-appscript
47
- type: :runtime
48
- version_requirement:
49
- version_requirements: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: 0.5.3
54
- version:
55
35
  - !ruby/object:Gem::Dependency
56
36
  name: hoe
57
37
  type: :development